Spaces:
Sleeping
Sleeping
update UI
Browse files
app.py
CHANGED
@@ -121,11 +121,11 @@ with gr.Blocks() as demo:
|
|
121 |
|
122 |
with gr.Row():
|
123 |
with gr.Column(scale=1):
|
124 |
-
user_input = gr.Textbox(label="
|
125 |
-
query_output = gr.Textbox(label="
|
126 |
|
127 |
with gr.Column(scale=2):
|
128 |
-
gr.Markdown("### Receipts Table
|
129 |
receipts_table = gr.Dataframe(value=get_receipts_table(), label="Receipts Table")
|
130 |
|
131 |
user_input.change(fn=handle_query, inputs=user_input, outputs=query_output)
|
|
|
121 |
|
122 |
with gr.Row():
|
123 |
with gr.Column(scale=1):
|
124 |
+
user_input = gr.Textbox(label="Ask a question about the data")
|
125 |
+
query_output = gr.Textbox(label="Result")
|
126 |
|
127 |
with gr.Column(scale=2):
|
128 |
+
gr.Markdown("### Receipts Table")
|
129 |
receipts_table = gr.Dataframe(value=get_receipts_table(), label="Receipts Table")
|
130 |
|
131 |
user_input.change(fn=handle_query, inputs=user_input, outputs=query_output)
|