Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
import os
|
2 |
|
|
|
|
|
|
|
|
|
3 |
os.system("pip install pyyaml==5.1")
|
4 |
# workaround: install old version of pytorch since detectron2 hasn't released packages for pytorch 1.9 (issue: https://github.com/facebookresearch/detectron2/issues/3158)
|
5 |
os.system(
|
|
|
1 |
import os
|
2 |
|
3 |
+
os.system('pip install pip --upgrade')
|
4 |
+
os.system('pip install -q git+https://github.com/huggingface/transformers.git')
|
5 |
+
|
6 |
+
|
7 |
os.system("pip install pyyaml==5.1")
|
8 |
# workaround: install old version of pytorch since detectron2 hasn't released packages for pytorch 1.9 (issue: https://github.com/facebookresearch/detectron2/issues/3158)
|
9 |
os.system(
|