Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ headers = {
|
|
20 |
|
21 |
def chat_with_groq(user_input):
|
22 |
body = {
|
23 |
-
"model": "
|
24 |
"messages": [
|
25 |
{"role": "user", "content": user_input}
|
26 |
]
|
@@ -42,7 +42,7 @@ interface=gr.Interface(
|
|
42 |
fn=chat_with_groq,
|
43 |
inputs=gr.Textbox("Ask me anything..."),
|
44 |
outputs=gr.Textbox(),
|
45 |
-
title="Chat
|
46 |
description="Type your question below and get a response powered by Groq's Llama 3.1-8B model"
|
47 |
)
|
48 |
if __name__ =="__main__":
|
|
|
20 |
|
21 |
def chat_with_groq(user_input):
|
22 |
body = {
|
23 |
+
"model": "deepseek-r1-distill-qwen-32b",
|
24 |
"messages": [
|
25 |
{"role": "user", "content": user_input}
|
26 |
]
|
|
|
42 |
fn=chat_with_groq,
|
43 |
inputs=gr.Textbox("Ask me anything..."),
|
44 |
outputs=gr.Textbox(),
|
45 |
+
title="Chat bot using groq (deepseek-r1-distill-qwen-32b)",
|
46 |
description="Type your question below and get a response powered by Groq's Llama 3.1-8B model"
|
47 |
)
|
48 |
if __name__ =="__main__":
|