Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ if not hf_token:
|
|
| 10 |
|
| 11 |
# Initialize the Zephyr model
|
| 12 |
client = InferenceClient(
|
| 13 |
-
model="
|
| 14 |
token=hf_token
|
| 15 |
)
|
| 16 |
|
|
@@ -39,8 +39,8 @@ def chat_function(message, history):
|
|
| 39 |
# Use Gradio's built-in ChatInterface for a clean look
|
| 40 |
demo = gr.ChatInterface(
|
| 41 |
fn=chat_function,
|
| 42 |
-
title="Direct Chat with
|
| 43 |
-
description="This app talks directly to the
|
| 44 |
)
|
| 45 |
|
| 46 |
if __name__ == "__main__":
|
|
|
|
| 10 |
|
| 11 |
# Initialize the Zephyr model
|
| 12 |
client = InferenceClient(
|
| 13 |
+
model="Qwen/Qwen2.5-7B-Instruct",
|
| 14 |
token=hf_token
|
| 15 |
)
|
| 16 |
|
|
|
|
| 39 |
# Use Gradio's built-in ChatInterface for a clean look
|
| 40 |
demo = gr.ChatInterface(
|
| 41 |
fn=chat_function,
|
| 42 |
+
title="Direct Chat with Qwen/Qwen2.5-7B-Instruct",
|
| 43 |
+
description="This app talks directly to the Qwen/Qwen2.5-7B-Instruct model via Hugging Face Serverless API. No local database is attached."
|
| 44 |
)
|
| 45 |
|
| 46 |
if __name__ == "__main__":
|