Spaces:
Runtime error
Runtime error
Update requirements.txt
#2
by
jjmandog
- opened
- requirements.txt +9 -5
requirements.txt
CHANGED
@@ -1,8 +1,12 @@
|
|
1 |
-
#
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
3 |
torch==2.0.1
|
4 |
numpy==1.23.5
|
5 |
transformers==4.34.0
|
6 |
-
#
|
7 |
-
#
|
8 |
-
gradio==3.47.1
|
|
|
1 |
+
# Add these lines
|
2 |
+
uvicorn==0.27.0
|
3 |
+
fastapi==0.109.0
|
4 |
+
anyio==4.2.0
|
5 |
+
|
6 |
+
# Keep existing with updated versions
|
7 |
+
gradio==3.47.1
|
8 |
torch==2.0.1
|
9 |
numpy==1.23.5
|
10 |
transformers==4.34.0
|
11 |
+
# Werkzeug==2.3.7 # Not needed with FastAPI
|
12 |
+
# Flask==2.2.0 # Replaced by FastAPI
|
|