lisaude0512 commited on
Commit
7c7789b
·
verified ·
1 Parent(s): 71d70c4

unfinished

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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."}]