ziheng1234 commited on
Commit
0ec5859
·
verified ·
1 Parent(s): e7e9bb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -6,7 +6,7 @@ os.system("pip install gradio_image_annotation==0.4.1")
6
  os.system("pip uninstall -y huggingface-hub")
7
  os.system("pip install huggingface-hub==0.35.3")
8
 
9
-
10
  import torch
11
  from PIL import Image
12
  import gradio as gr
@@ -20,7 +20,6 @@ from huggingface_hub import hf_hub_download
20
  from src.lora_helper import set_single_lora
21
  from src.detail_encoder import DetailEncoder
22
  from src.kontext_custom_pipeline import FluxKontextPipelineWithPhotoEncoderAddTokens
23
- import spaces
24
  from uno.flux.pipeline import UNOPipeline
25
 
26
  hf_hub_download(
 
6
  os.system("pip uninstall -y huggingface-hub")
7
  os.system("pip install huggingface-hub==0.35.3")
8
 
9
+ import spaces
10
  import torch
11
  from PIL import Image
12
  import gradio as gr
 
20
  from src.lora_helper import set_single_lora
21
  from src.detail_encoder import DetailEncoder
22
  from src.kontext_custom_pipeline import FluxKontextPipelineWithPhotoEncoderAddTokens
 
23
  from uno.flux.pipeline import UNOPipeline
24
 
25
  hf_hub_download(