Spaces:
Sleeping
Sleeping
pin gradio sdk_version 5.50.0; drop gradio from requirements
Browse files- README.md +1 -0
- requirements.txt +4 -1
README.md
CHANGED
|
@@ -4,6 +4,7 @@ emoji: 🔍
|
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: gray
|
| 6 |
sdk: gradio
|
|
|
|
| 7 |
app_file: app.py
|
| 8 |
pinned: false
|
| 9 |
license: mit
|
|
|
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: gray
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 5.50.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
requirements.txt
CHANGED
|
@@ -13,7 +13,10 @@
|
|
| 13 |
torch
|
| 14 |
llama-cpp-python==0.3.19
|
| 15 |
|
| 16 |
-
gradio
|
|
|
|
|
|
|
|
|
|
| 17 |
huggingface_hub>=0.23
|
| 18 |
transformers>=4.45
|
| 19 |
sentence-transformers>=3.0
|
|
|
|
| 13 |
torch
|
| 14 |
llama-cpp-python==0.3.19
|
| 15 |
|
| 16 |
+
# gradio is deliberately absent: the Space installs the version pinned as `sdk_version` in
|
| 17 |
+
# README.md, and listing it here as well is how the two end up disagreeing. Leaving it unpinned in
|
| 18 |
+
# both places is what broke the first deploy - HF fell back to a gradio 3.x default that has no
|
| 19 |
+
# `show_copy_button`.
|
| 20 |
huggingface_hub>=0.23
|
| 21 |
transformers>=4.45
|
| 22 |
sentence-transformers>=3.0
|