Spaces:
Paused
Paused
update app
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def chat_with_mistral(user_input):
|
|
22 |
chat_response = client.chat(model=model, messages=messages)
|
23 |
return chat_response.choices[0].message.content
|
24 |
|
25 |
-
app = gr.
|
26 |
fn=chat_with_mistral,
|
27 |
chatbot=gr.Chatbot(height=300),
|
28 |
textbox=gr.Textbox(placeholder=placeholder, container=False, scale=7),
|
|
|
22 |
chat_response = client.chat(model=model, messages=messages)
|
23 |
return chat_response.choices[0].message.content
|
24 |
|
25 |
+
app = gr.Interface(
|
26 |
fn=chat_with_mistral,
|
27 |
chatbot=gr.Chatbot(height=300),
|
28 |
textbox=gr.Textbox(placeholder=placeholder, container=False, scale=7),
|