amoooooo commited on
Commit
d0ae10a
1 Parent(s): 029fbe5

Fix Wacky Gradio

Browse files
Files changed (2) hide show
  1. app.py +3 -0
  2. requirements.txt +1 -1
app.py CHANGED
@@ -1,4 +1,7 @@
1
  import os
 
 
 
2
  import gradio as gr
3
  from PIL import Image
4
  import subprocess
 
1
  import os
2
+
3
+ os.system("pip install gradio==3.50")
4
+
5
  import gradio as gr
6
  from PIL import Image
7
  import subprocess
requirements.txt CHANGED
@@ -16,4 +16,4 @@ easydict
16
  Pillow
17
 
18
  opencv-python-headless
19
- gradio==2.4.6
 
16
  Pillow
17
 
18
  opencv-python-headless
19
+ gradio==3.50