Spaces:
Sleeping
Sleeping
update to smaller model for poc
Browse files
app.py
CHANGED
|
@@ -4,7 +4,9 @@ from huggingface_hub import InferenceClient
|
|
| 4 |
"""
|
| 5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
| 6 |
"""
|
| 7 |
-
|
|
|
|
|
|
|
| 8 |
|
| 9 |
|
| 10 |
def respond(
|
|
|
|
| 4 |
"""
|
| 5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
| 6 |
"""
|
| 7 |
+
# requires space hardware update to use large models (TODO)
|
| 8 |
+
# client = InferenceClient("mistralai/Mistral-Large-Instruct-2407")
|
| 9 |
+
client = InferenceClient("EleutherAI/gpt-neo-125M")
|
| 10 |
|
| 11 |
|
| 12 |
def respond(
|