Spaces:
No application file
No application file
sam133 commited on
Commit ·
821bfac
1
Parent(s): 23a57ae
Fix ChatInterface format: Remove type='messages' to use default string format
Browse files
app.py
CHANGED
|
@@ -60,7 +60,6 @@ def agent_chat(message: str, history: list):
|
|
| 60 |
# Create the main interface following working pattern
|
| 61 |
chat_interface = gr.ChatInterface(
|
| 62 |
fn=agent_chat,
|
| 63 |
-
type="messages",
|
| 64 |
examples=[
|
| 65 |
"Design a warehouse robot for package delivery with 50kg payload capacity",
|
| 66 |
"Create a drone for aerial surveillance with 2-hour flight time",
|
|
|
|
| 60 |
# Create the main interface following working pattern
|
| 61 |
chat_interface = gr.ChatInterface(
|
| 62 |
fn=agent_chat,
|
|
|
|
| 63 |
examples=[
|
| 64 |
"Design a warehouse robot for package delivery with 50kg payload capacity",
|
| 65 |
"Create a drone for aerial surveillance with 2-hour flight time",
|