Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from huggingface_hub import InferenceClient
|
|
| 4 |
|
| 5 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 6 |
|
| 7 |
-
def respond():
|
| 8 |
|
| 9 |
messages = [{"role":"system", "content": "You are a freindly chatbot." }]
|
| 10 |
if history:
|
|
|
|
| 4 |
|
| 5 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 6 |
|
| 7 |
+
def respond(message, history):
|
| 8 |
|
| 9 |
messages = [{"role":"system", "content": "You are a freindly chatbot." }]
|
| 10 |
if history:
|