Update app.py
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
|
| 8 |
|
| 9 |
if history:
|
| 10 |
messages.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 Taylor Swift"}]
|
| 8 |
|
| 9 |
if history:
|
| 10 |
messages.extend(history)
|