Spaces:
Sleeping
Sleeping
updated content & client
Browse files
app.py
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from huggingface_hub import InferenceClient
|
| 3 |
|
| 4 |
-
client = InferenceClient("
|
| 5 |
|
| 6 |
def respond(message, history):
|
| 7 |
-
messages = [{"role": "system", "content": "You are a
|
| 8 |
|
| 9 |
if history:
|
| 10 |
nessages.extend(history)
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from huggingface_hub import InferenceClient
|
| 3 |
|
| 4 |
+
client = InferenceClient("Qwen/Qwen2.5-72B-Instruct")
|
| 5 |
|
| 6 |
def respond(message, history):
|
| 7 |
+
messages = [{"role": "system", "content": "You are a evil chatbot"}]
|
| 8 |
|
| 9 |
if history:
|
| 10 |
nessages.extend(history)
|