Spaces:
Running
Running
Commit ·
49eb0e6
1
Parent(s): 91f5d7c
Minor improvements: remove redundant visible parameter and add share=False
Browse files
app.py
CHANGED
|
@@ -320,7 +320,7 @@ with gr.Blocks(
|
|
| 320 |
with gr.Row():
|
| 321 |
with gr.Column():
|
| 322 |
output_html = gr.HTML(label="Visualization")
|
| 323 |
-
|
| 324 |
|
| 325 |
# Event handlers
|
| 326 |
news_btn.click(fn=lambda: EXAMPLE_NEWS, outputs=[text_input])
|
|
@@ -373,4 +373,4 @@ with gr.Blocks(
|
|
| 373 |
|
| 374 |
|
| 375 |
if __name__ == "__main__":
|
| 376 |
-
demo.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
|
| 320 |
with gr.Row():
|
| 321 |
with gr.Column():
|
| 322 |
output_html = gr.HTML(label="Visualization")
|
| 323 |
+
download_file = gr.File(label="📥 Download HTML", visible=False)
|
| 324 |
|
| 325 |
# Event handlers
|
| 326 |
news_btn.click(fn=lambda: EXAMPLE_NEWS, outputs=[text_input])
|
|
|
|
| 373 |
|
| 374 |
|
| 375 |
if __name__ == "__main__":
|
| 376 |
+
demo.launch(server_name="0.0.0.0", server_port=7860, share=False)
|