Update app.py
Browse files
app.py
CHANGED
@@ -355,6 +355,6 @@ with gr.Blocks() as demo:
|
|
355 |
reds_output = gr.Dataframe(label="Reds")
|
356 |
output_JSON = gr.JSON(label="Extracted Report") # Show JSON output
|
357 |
|
358 |
-
submit_btn.click(
|
359 |
|
360 |
demo.launch()
|
|
|
355 |
reds_output = gr.Dataframe(label="Reds")
|
356 |
output_JSON = gr.JSON(label="Extracted Report") # Show JSON output
|
357 |
|
358 |
+
submit_btn.click(show_to_UI, inputs=[pdf_input], outputs=[metadata_output, lab_test_output, reds_output,output_JSON])
|
359 |
|
360 |
demo.launch()
|