Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ def respond(message, history):
|
|
| 53 |
return f"an error occurred {e}"
|
| 54 |
|
| 55 |
# UI Setup
|
| 56 |
-
with gr.Blocks() as
|
| 57 |
with gr.Row():
|
| 58 |
with gr.Column(scale=1):
|
| 59 |
file_input = gr.File(file_count="single", type='filepath')
|
|
@@ -75,4 +75,4 @@ with gr.Blocks() as demo:
|
|
| 75 |
|
| 76 |
# Launch the demo with public link option
|
| 77 |
if __name__ == "__main__":
|
| 78 |
-
|
|
|
|
| 53 |
return f"an error occurred {e}"
|
| 54 |
|
| 55 |
# UI Setup
|
| 56 |
+
with gr.Blocks() as main:
|
| 57 |
with gr.Row():
|
| 58 |
with gr.Column(scale=1):
|
| 59 |
file_input = gr.File(file_count="single", type='filepath')
|
|
|
|
| 75 |
|
| 76 |
# Launch the demo with public link option
|
| 77 |
if __name__ == "__main__":
|
| 78 |
+
main.launch(share=True)
|