Spaces:
Sleeping
Sleeping
Updated ChatInterface
Browse files
app.py
CHANGED
|
@@ -172,7 +172,8 @@ with gr.Blocks() as demo:
|
|
| 172 |
seat_map = gr.Textbox(label="Seat map", lines=18)
|
| 173 |
hold_result = gr.Textbox(label="Hold result")
|
| 174 |
booked_result = gr.Textbox(label="Booking result")
|
| 175 |
-
ai_chat = gr.ChatInterface(fn=chat_with_ai, type="messages", title="AI Assistant")
|
|
|
|
| 176 |
|
| 177 |
btn_hold.click(ui_action, inputs=[user_id, group_size], outputs=[seat_map, hold_result, hold_id])
|
| 178 |
btn_confirm.click(confirm_action, inputs=[user_id, hold_id], outputs=[seat_map, booked_result])
|
|
|
|
| 172 |
seat_map = gr.Textbox(label="Seat map", lines=18)
|
| 173 |
hold_result = gr.Textbox(label="Hold result")
|
| 174 |
booked_result = gr.Textbox(label="Booking result")
|
| 175 |
+
#ai_chat = gr.ChatInterface(fn=chat_with_ai, type="messages", title="AI Assistant")
|
| 176 |
+
ai_chat = gr.ChatInterface(fn=chat_with_ai, title="Booking Assistant")
|
| 177 |
|
| 178 |
btn_hold.click(ui_action, inputs=[user_id, group_size], outputs=[seat_map, hold_result, hold_id])
|
| 179 |
btn_confirm.click(confirm_action, inputs=[user_id, hold_id], outputs=[seat_map, booked_result])
|