Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ output = query({
|
|
| 18 |
with gr.Blocks() as demo:
|
| 19 |
name = gr.Textbox(label="Paste Your Bill Text In Here:")
|
| 20 |
output = gr.Textbox(label="Analysis")
|
| 21 |
-
|
| 22 |
-
|
| 23 |
|
| 24 |
demo.launch("share=True")
|
|
|
|
| 18 |
with gr.Blocks() as demo:
|
| 19 |
name = gr.Textbox(label="Paste Your Bill Text In Here:")
|
| 20 |
output = gr.Textbox(label="Analysis")
|
| 21 |
+
query_btn = gr.Button("ANALYZE")
|
| 22 |
+
query_btn.click(fn=query, inputs=name, outputs=output)
|
| 23 |
|
| 24 |
demo.launch("share=True")
|