Spaces:
Runtime error
Runtime error
add requirements
Browse files- app.py +1 -1
- multimodal/setup.py +1 -1
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import os
|
2 |
-
os.system("cd transformers && pip install .")
|
3 |
os.system("cd multimodal && pip install .")
|
4 |
os.system("cd multimodal/YOLOX && pip install .")
|
5 |
import numpy as np
|
|
|
1 |
import os
|
2 |
+
# os.system("cd transformers && pip install .")
|
3 |
os.system("cd multimodal && pip install .")
|
4 |
os.system("cd multimodal/YOLOX && pip install .")
|
5 |
import numpy as np
|
multimodal/setup.py
CHANGED
@@ -19,7 +19,7 @@ if __name__ == "__main__":
|
|
19 |
REQUIREMENTS = [
|
20 |
"einops",
|
21 |
"einops-exts",
|
22 |
-
"transformers",
|
23 |
"torch==1.12.1",
|
24 |
"torchvision==0.13.1",
|
25 |
"pillow==9.3.0",
|
|
|
19 |
REQUIREMENTS = [
|
20 |
"einops",
|
21 |
"einops-exts",
|
22 |
+
"transformers==4.31.0",
|
23 |
"torch==1.12.1",
|
24 |
"torchvision==0.13.1",
|
25 |
"pillow==9.3.0",
|