Spaces:
Runtime error
Runtime error
uncomment requirements
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ os.environ["REGION"]="eu-west-1"
|
|
7 |
os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html')
|
8 |
|
9 |
# work around: https://discuss.huggingface.co/t/how-to-install-a-specific-version-of-gradio-in-spaces/13552
|
10 |
-
|
11 |
-
|
12 |
os.system(os.environ["DD_ADDONS"])
|
13 |
|
14 |
import time
|
|
|
7 |
os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html')
|
8 |
|
9 |
# work around: https://discuss.huggingface.co/t/how-to-install-a-specific-version-of-gradio-in-spaces/13552
|
10 |
+
os.system("pip uninstall -y gradio")
|
11 |
+
os.system("pip install gradio==3.4.1")
|
12 |
os.system(os.environ["DD_ADDONS"])
|
13 |
|
14 |
import time
|