Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,11 @@ 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 |
-
client = InferenceClient("
|
|
|
|
|
8 |
|
|
|
9 |
|
10 |
def respond(
|
11 |
message,
|
|
|
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 |
+
client = InferenceClient("deepseek-ai/deepseek-llm-7b-base")
|
8 |
+
# Use a pipeline as a high-level helper
|
9 |
+
#from transformers import pipeline
|
10 |
|
11 |
+
#pipe = pipeline("text-generation", model="deepseek-ai/deepseek-llm-7b-base")
|
12 |
|
13 |
def respond(
|
14 |
message,
|