Junfeng5 commited on
Commit
c5803b8
·
verified ·
1 Parent(s): 8407e3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,6 +1,5 @@
1
  import time
2
  import torch
3
- import gradio as gr
4
  from PIL import Image
5
  from tqdm import tqdm
6
  from threading import Thread
@@ -23,6 +22,8 @@ os.system("pip uninstall -y gradio")
23
  os.system("pip install gradio==4.44.1")
24
  os.system("pip install gradio_client==1.3.0")
25
 
 
 
26
 
27
  IMAGE_TOKEN_INDEX=-200
28
  PLACEHOLDER = """
 
1
  import time
2
  import torch
 
3
  from PIL import Image
4
  from tqdm import tqdm
5
  from threading import Thread
 
22
  os.system("pip install gradio==4.44.1")
23
  os.system("pip install gradio_client==1.3.0")
24
 
25
+ import gradio as gr
26
+
27
 
28
  IMAGE_TOKEN_INDEX=-200
29
  PLACEHOLDER = """