Spaces:
Sleeping
Sleeping
update gradio version
Browse files
app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
import gradio as gr
|
2 |
import argparse
|
3 |
import os
|
4 |
import glob
|
@@ -20,6 +19,7 @@ sys.path.append(code_dir)
|
|
20 |
import subprocess
|
21 |
subprocess.run(["pip", "install", "--upgrade", "gradio"])
|
22 |
|
|
|
23 |
print("gr version: ", gr.__version__)
|
24 |
|
25 |
from utils import image_preprocess, pred_bbox, sam_init, sam_out_nosave, todevice
|
|
|
|
|
1 |
import argparse
|
2 |
import os
|
3 |
import glob
|
|
|
19 |
import subprocess
|
20 |
subprocess.run(["pip", "install", "--upgrade", "gradio"])
|
21 |
|
22 |
+
import gradio as gr
|
23 |
print("gr version: ", gr.__version__)
|
24 |
|
25 |
from utils import image_preprocess, pred_bbox, sam_init, sam_out_nosave, todevice
|