Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1457,7 +1457,7 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
|
|
| 1457 |
# Buttons for sample queries
|
| 1458 |
with gr.Row():
|
| 1459 |
#sample_button = gr.Button("What are the details of ASN24091600002", elem_classes="gr-buttonbig")
|
| 1460 |
-
sample_button1 = gr.Button("What are the active warehouses available", elem_classes="gr-buttonbig")
|
| 1461 |
sample_button2 = gr.Button("Explain Pre-Receiving Yard Management", elem_classes="gr-buttonbig")
|
| 1462 |
sample_button3 = gr.Button("can you generate a doughnut chart with item name and quantities for warehouse DUBAIWARE", elem_classes="gr-buttonbig")
|
| 1463 |
sample_button4 = gr.Button("Analyze item name & quantity for different customers in a stacked bar chart for the warehouse DUBAIWARE & send email to meetarun@gmail.com", elem_classes="gr-button")
|
|
@@ -1510,7 +1510,7 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
|
|
| 1510 |
submit_feedback_button.click(lambda x: gr.update(value=''), [], [feedback_textbox])
|
| 1511 |
|
| 1512 |
#sample_button.click(handle_query, [sample_button, chatbot], [chatbot])
|
| 1513 |
-
sample_button1.click(handle_query, [sample_button1, chatbot], [chatbot])
|
| 1514 |
sample_button2.click(handle_query, [sample_button2, chatbot], [chatbot])
|
| 1515 |
sample_button3.click(handle_query, [sample_button3, chatbot], [chatbot])
|
| 1516 |
sample_button4.click(handle_query, [sample_button4, chatbot], [chatbot])
|
|
|
|
| 1457 |
# Buttons for sample queries
|
| 1458 |
with gr.Row():
|
| 1459 |
#sample_button = gr.Button("What are the details of ASN24091600002", elem_classes="gr-buttonbig")
|
| 1460 |
+
#sample_button1 = gr.Button("What are the active warehouses available", elem_classes="gr-buttonbig")
|
| 1461 |
sample_button2 = gr.Button("Explain Pre-Receiving Yard Management", elem_classes="gr-buttonbig")
|
| 1462 |
sample_button3 = gr.Button("can you generate a doughnut chart with item name and quantities for warehouse DUBAIWARE", elem_classes="gr-buttonbig")
|
| 1463 |
sample_button4 = gr.Button("Analyze item name & quantity for different customers in a stacked bar chart for the warehouse DUBAIWARE & send email to meetarun@gmail.com", elem_classes="gr-button")
|
|
|
|
| 1510 |
submit_feedback_button.click(lambda x: gr.update(value=''), [], [feedback_textbox])
|
| 1511 |
|
| 1512 |
#sample_button.click(handle_query, [sample_button, chatbot], [chatbot])
|
| 1513 |
+
#sample_button1.click(handle_query, [sample_button1, chatbot], [chatbot])
|
| 1514 |
sample_button2.click(handle_query, [sample_button2, chatbot], [chatbot])
|
| 1515 |
sample_button3.click(handle_query, [sample_button3, chatbot], [chatbot])
|
| 1516 |
sample_button4.click(handle_query, [sample_button4, chatbot], [chatbot])
|