zouzx commited on
Commit
71ec6e3
1 Parent(s): 9def845

update gradio version

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -16,6 +16,10 @@ code_dir = snapshot_download("zouzx/TriplaneGaussian", local_dir="./code", token
16
 
17
  sys.path.append(code_dir)
18
 
 
 
 
 
19
  print("gr version: ", gr.__version__)
20
 
21
  from utils import image_preprocess, pred_bbox, sam_init, sam_out_nosave, todevice
 
16
 
17
  sys.path.append(code_dir)
18
 
19
+ # if not LOCAL_CODE:
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