Update main.py
Browse files
main.py
CHANGED
|
@@ -319,11 +319,11 @@ def history_ui():
|
|
| 319 |
# refresh.click(fn=load_history, outputs=history_table)
|
| 320 |
|
| 321 |
# 🧷 Launch Gradio App
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
|
| 327 |
-
demo = gr.Interface(fn=detect_ui, inputs="image_input, mirror_toggle", outputs="image_output, text_output")
|
| 328 |
|
| 329 |
demo.launch()
|
|
|
|
| 319 |
# refresh.click(fn=load_history, outputs=history_table)
|
| 320 |
|
| 321 |
# 🧷 Launch Gradio App
|
| 322 |
+
with gr.Blocks() as demo:
|
| 323 |
+
detect_ui()
|
| 324 |
+
metadata_ui()
|
| 325 |
+
history_ui()
|
| 326 |
|
| 327 |
+
#demo = gr.Interface(fn=detect_ui, inputs="image_input, mirror_toggle", outputs="image_output, text_output")
|
| 328 |
|
| 329 |
demo.launch()
|