multimodalart HF staff commited on
Commit
94b944a
1 Parent(s): 975a92e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
2
  import numpy as np
3
  import random
4
  import torch
 
5
  from PIL import Image
6
  import os
7
  from pipeline_flux_ipa import FluxPipeline
@@ -10,7 +11,6 @@ from attention_processor import IPAFluxAttnProcessor2_0
10
  from transformers import AutoProcessor, SiglipVisionModel
11
  from infer_flux_ipa_siglip import MLPProjModel, IPAdapter
12
  from huggingface_hub import hf_hub_download
13
- import spaces
14
 
15
  # Constants
16
  MAX_SEED = np.iinfo(np.int32).max
 
2
  import numpy as np
3
  import random
4
  import torch
5
+ import spaces
6
  from PIL import Image
7
  import os
8
  from pipeline_flux_ipa import FluxPipeline
 
11
  from transformers import AutoProcessor, SiglipVisionModel
12
  from infer_flux_ipa_siglip import MLPProjModel, IPAdapter
13
  from huggingface_hub import hf_hub_download
 
14
 
15
  # Constants
16
  MAX_SEED = np.iinfo(np.int32).max