Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -588,6 +588,8 @@ with gr.Blocks(title=TITLE, theme=gr.themes.Ocean()) as app:
|
|
| 588 |
outputs=[count, result, download]
|
| 589 |
# outputs=val_txt
|
| 590 |
)
|
|
|
|
|
|
|
| 591 |
# send.click(send_event, inputs=[images, stain, email], outputs=result)
|
| 592 |
|
| 593 |
|
|
@@ -662,6 +664,5 @@ with gr.Blocks(title=TITLE, theme=gr.themes.Ocean()) as app:
|
|
| 662 |
if __name__ == "__main__":
|
| 663 |
ROOT = _persistent_base_dir()
|
| 664 |
#app.queue(max_size=32).launch()
|
| 665 |
-
app.load(fn=lambda: download_html_box(get_download_count()), outputs=[count])
|
| 666 |
app.launch(allowed_paths=[".", ROOT])
|
| 667 |
|
|
|
|
| 588 |
outputs=[count, result, download]
|
| 589 |
# outputs=val_txt
|
| 590 |
)
|
| 591 |
+
|
| 592 |
+
app.load(fn=lambda: download_html_box(get_download_count()), outputs=[count])
|
| 593 |
# send.click(send_event, inputs=[images, stain, email], outputs=result)
|
| 594 |
|
| 595 |
|
|
|
|
| 664 |
if __name__ == "__main__":
|
| 665 |
ROOT = _persistent_base_dir()
|
| 666 |
#app.queue(max_size=32).launch()
|
|
|
|
| 667 |
app.launch(allowed_paths=[".", ROOT])
|
| 668 |
|