Spaces:
Runtime error
Runtime error
Nihal Nayak
commited on
Commit
·
b1a9b5c
1
Parent(s):
a18f0bf
spaces gpu
Browse files- app.py +1 -1
- requirements.txt +2 -2
app.py
CHANGED
|
@@ -6,7 +6,7 @@ For more information on `huggingface_hub` Inference API support, please check th
|
|
| 6 |
"""
|
| 7 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 8 |
|
| 9 |
-
|
| 10 |
def respond(
|
| 11 |
message,
|
| 12 |
history: list[tuple[str, str]],
|
|
|
|
| 6 |
"""
|
| 7 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 8 |
|
| 9 |
+
@spaces.GPU
|
| 10 |
def respond(
|
| 11 |
message,
|
| 12 |
history: list[tuple[str, str]],
|
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
huggingface_hub==0.22.2
|
| 2 |
-
|
| 3 |
-
|
| 4 |
huggingface_hub==0.22.2
|
| 5 |
numpy<2.0.0
|
|
|
|
| 1 |
huggingface_hub==0.22.2
|
| 2 |
+
transformers
|
| 3 |
+
accelerate
|
| 4 |
huggingface_hub==0.22.2
|
| 5 |
numpy<2.0.0
|