Spaces:
Runtime error
Runtime error
amoooooo
commited on
Commit
·
029fbe5
1
Parent(s):
dac749d
Fix Wacky Gradio
Browse files- app.py +0 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -4,7 +4,6 @@ from PIL import Image
|
|
4 |
import subprocess
|
5 |
|
6 |
# Install necessary packages
|
7 |
-
os.system("pip install gradio==2.4.6")
|
8 |
os.system("pip install 'git+https://github.com/facebookresearch/detectron2.git'")
|
9 |
|
10 |
# Clone the repository
|
|
|
4 |
import subprocess
|
5 |
|
6 |
# Install necessary packages
|
|
|
7 |
os.system("pip install 'git+https://github.com/facebookresearch/detectron2.git'")
|
8 |
|
9 |
# Clone the repository
|
requirements.txt
CHANGED
@@ -15,4 +15,5 @@ patool
|
|
15 |
easydict
|
16 |
Pillow
|
17 |
|
18 |
-
opencv-python-headless
|
|
|
|
15 |
easydict
|
16 |
Pillow
|
17 |
|
18 |
+
opencv-python-headless
|
19 |
+
gradio==2.4.6
|