Langelaw commited on
Commit
c29420b
1 Parent(s): d304477

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -2,6 +2,9 @@ import gradio as gr
2
  from gradio_model4dgs import Model4DGS
3
  import os
4
 
 
 
 
5
  image_dir = os.path.join(os.path.dirname(__file__), "assets")
6
 
7
  if os.path.exists(image_dir) and os.path.isdir(image_dir) and os.listdir(image_dir):
 
2
  from gradio_model4dgs import Model4DGS
3
  import os
4
 
5
+ os.system("pip uninstall -y gradio")
6
+ os.system("pip install gradio==4.21.0")
7
+
8
  image_dir = os.path.join(os.path.dirname(__file__), "assets")
9
 
10
  if os.path.exists(image_dir) and os.path.isdir(image_dir) and os.listdir(image_dir):