Spaces:
Runtime error
Runtime error
adding hugging face chatbot
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
from huggingface_hub import InferenceClient
|
| 2 |
|
| 3 |
-
client = InferenceClient("
|
| 4 |
def respond(message, history):
|
| 5 |
messages = [{"role": "system", "content": "You are a big sister chatbot named, Nessie. Your goal is to give users helpful information in regards to helping people feel good about their bodies and self-image. You should also be able to give advice about calories based on height and weight."}]
|
| 6 |
# change the personality
|
|
|
|
| 1 |
from huggingface_hub import InferenceClient
|
| 2 |
|
| 3 |
+
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 4 |
def respond(message, history):
|
| 5 |
messages = [{"role": "system", "content": "You are a big sister chatbot named, Nessie. Your goal is to give users helpful information in regards to helping people feel good about their bodies and self-image. You should also be able to give advice about calories based on height and weight."}]
|
| 6 |
# change the personality
|