Spaces:
Runtime error
Runtime error
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 friendly chatbot."}]
|
|
@@ -21,4 +21,4 @@ def echo(message, history):
|
|
| 21 |
|
| 22 |
chatbot = gr.ChatInterface(respond, type = 'messages')
|
| 23 |
|
| 24 |
-
chatbot.launch()
|
|
|
|
| 2 |
import random
|
| 3 |
from huggingface_hub import InferenceClient
|
| 4 |
|
| 5 |
+
client = InferenceClient("deepseek-ai/DeepSeek-R1-Distill-Qwen-32B")
|
| 6 |
|
| 7 |
def respond(message, history):
|
| 8 |
messages = [{"role": "system", "content": "You are a friendly chatbot."}]
|
|
|
|
| 21 |
|
| 22 |
chatbot = gr.ChatInterface(respond, type = 'messages')
|
| 23 |
|
| 24 |
+
chatbot.launch(debug = True)
|