Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
import random
|
| 3 |
from huggingface_hub import InferenceClient
|
| 4 |
|
| 5 |
-
client = InferenceClient ("
|
| 6 |
|
| 7 |
def respond(message, history):
|
| 8 |
messages = [{"role" : "system", "content" : "You are a chatbot who helps with mental health"}] #change personality
|
|
|
|
| 2 |
import random
|
| 3 |
from huggingface_hub import InferenceClient
|
| 4 |
|
| 5 |
+
client = InferenceClient ("HuggingFaceH4/zephyr-7b-beta") #change the LLM
|
| 6 |
|
| 7 |
def respond(message, history):
|
| 8 |
messages = [{"role" : "system", "content" : "You are a chatbot who helps with mental health"}] #change personality
|