Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def chatbot(user_input):
|
|
85 |
|
86 |
# Stream the chatbot's response
|
87 |
stream = client.chat.completions.create(
|
88 |
-
model="
|
89 |
messages=messages,
|
90 |
temperature=0.6,
|
91 |
max_tokens=2200,
|
@@ -103,9 +103,7 @@ def chatbot(user_input):
|
|
103 |
|
104 |
# Create Gradio interface
|
105 |
with gr.Blocks(theme='darkdefault') as demo:
|
106 |
-
gr.Markdown("""# Chat with DeepSeek
|
107 |
-
Type your message below to interact with the chatbot. Type "exit" to end the conversation.
|
108 |
-
""")
|
109 |
|
110 |
with gr.Row():
|
111 |
with gr.Column():
|
|
|
85 |
|
86 |
# Stream the chatbot's response
|
87 |
stream = client.chat.completions.create(
|
88 |
+
model="deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B",
|
89 |
messages=messages,
|
90 |
temperature=0.6,
|
91 |
max_tokens=2200,
|
|
|
103 |
|
104 |
# Create Gradio interface
|
105 |
with gr.Blocks(theme='darkdefault') as demo:
|
106 |
+
gr.Markdown("""# Chat with DeepSeek""")
|
|
|
|
|
107 |
|
108 |
with gr.Row():
|
109 |
with gr.Column():
|