Spaces:
Sleeping
Sleeping
testing
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import random
|
|
| 3 |
from huggingface_hub import InferenceClient
|
| 4 |
# change the LLM
|
| 5 |
|
| 6 |
-
client = InferenceClient("
|
| 7 |
def respond(message, history):
|
| 8 |
messages = [{"role": "system", "content": "You are a helpful chatbot."}]
|
| 9 |
# change the personality
|
|
@@ -26,4 +26,4 @@ def magic_eight_ball(message, history):
|
|
| 26 |
return chat_answer
|
| 27 |
|
| 28 |
chatbot = gr.ChatInterface(respond, type = "messages")
|
| 29 |
-
chatbot.launch()
|
|
|
|
| 3 |
from huggingface_hub import InferenceClient
|
| 4 |
# change the LLM
|
| 5 |
|
| 6 |
+
client = InferenceClient("Qwen/Qwen2.5-72B-Instruct")
|
| 7 |
def respond(message, history):
|
| 8 |
messages = [{"role": "system", "content": "You are a helpful chatbot."}]
|
| 9 |
# change the personality
|
|
|
|
| 26 |
return chat_answer
|
| 27 |
|
| 28 |
chatbot = gr.ChatInterface(respond, type = "messages")
|
| 29 |
+
chatbot.launch(debug=True)
|