Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,9 +19,9 @@ def chat_with_groq(message):
|
|
| 19 |
"content": message,
|
| 20 |
}
|
| 21 |
],
|
| 22 |
-
model="
|
| 23 |
)
|
| 24 |
return chat_completion.choices[0].message.content
|
| 25 |
|
| 26 |
-
iface = gr.Interface(fn=chat_with_groq, inputs="textbox", outputs="textbox", title="Groq Chat with
|
| 27 |
iface.launch()
|
|
|
|
| 19 |
"content": message,
|
| 20 |
}
|
| 21 |
],
|
| 22 |
+
model="openai/gpt-oss-120b", # Using the same model as before
|
| 23 |
)
|
| 24 |
return chat_completion.choices[0].message.content
|
| 25 |
|
| 26 |
+
iface = gr.Interface(fn=chat_with_groq, inputs="textbox", outputs="textbox", title="Groq Chat with openAI GPT OSS DDS")
|
| 27 |
iface.launch()
|