Spaces:
Running
Running
NaveenKumar Namachivayam commited on
Commit ·
cc23e38
1
Parent(s): c5f7937
fix: pin starlette and fastapi versions to fix Gradio unhashable type error
Browse files- hf-space/requirements.txt +3 -1
- pyproject.toml +9 -6
- requirements.txt +3 -0
hf-space/requirements.txt
CHANGED
|
@@ -1,2 +1,4 @@
|
|
| 1 |
torch>=2.0.0
|
| 2 |
-
gradio>=4.
|
|
|
|
|
|
|
|
|
| 1 |
torch>=2.0.0
|
| 2 |
+
gradio>=4.44.1
|
| 3 |
+
starlette<0.40.0
|
| 4 |
+
fastapi<0.115.0
|
pyproject.toml
CHANGED
|
@@ -5,10 +5,13 @@ description = "Train a GPT from scratch on a MacBook"
|
|
| 5 |
readme = "README.md"
|
| 6 |
requires-python = ">=3.12"
|
| 7 |
dependencies = [
|
| 8 |
-
"datasets>=
|
| 9 |
-
"huggingface-hub>=
|
| 10 |
-
"numpy>=
|
| 11 |
-
"tiktoken>=0.
|
| 12 |
-
"torch>=2.
|
| 13 |
-
"tqdm>=4.
|
|
|
|
|
|
|
|
|
|
| 14 |
]
|
|
|
|
| 5 |
readme = "README.md"
|
| 6 |
requires-python = ">=3.12"
|
| 7 |
dependencies = [
|
| 8 |
+
"datasets>=2.15.0",
|
| 9 |
+
"huggingface-hub>=0.19.0",
|
| 10 |
+
"numpy>=1.26.0",
|
| 11 |
+
"tiktoken>=0.5.0",
|
| 12 |
+
"torch>=2.1.0",
|
| 13 |
+
"tqdm>=4.66.0",
|
| 14 |
+
"gradio>=4.44.1",
|
| 15 |
+
"starlette<0.40.0",
|
| 16 |
+
"fastapi<0.115.0",
|
| 17 |
]
|
requirements.txt
CHANGED
|
@@ -1,2 +1,5 @@
|
|
| 1 |
torch>=2.0.0
|
|
|
|
|
|
|
|
|
|
| 2 |
huggingface_hub==0.20.0
|
|
|
|
| 1 |
torch>=2.0.0
|
| 2 |
+
gradio>=4.44.1
|
| 3 |
+
starlette<0.40.0
|
| 4 |
+
fastapi<0.115.0
|
| 5 |
huggingface_hub==0.20.0
|