Spaces:
Runtime error
Runtime error
unfinished
Browse files
app.py
CHANGED
|
@@ -5,6 +5,8 @@ import numpy as np
|
|
| 5 |
import random
|
| 6 |
from huggingface_hub import InferenceClient
|
| 7 |
|
|
|
|
|
|
|
| 8 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 9 |
def respond(message, history):
|
| 10 |
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."}]
|
|
|
|
| 5 |
import random
|
| 6 |
from huggingface_hub import InferenceClient
|
| 7 |
|
| 8 |
+
model = SentenceTransformer('all-MiniLM-L6-v2')
|
| 9 |
+
|
| 10 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 11 |
def respond(message, history):
|
| 12 |
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."}]
|