Spaces:
Runtime error
Runtime error
add main if
Browse files
app.py
CHANGED
@@ -141,5 +141,5 @@ with gr.Blocks() as demo:
|
|
141 |
inputs=filename,
|
142 |
outputs=file_display
|
143 |
)
|
144 |
-
|
145 |
-
demo.launch(debug=True, share=True)
|
|
|
141 |
inputs=filename,
|
142 |
outputs=file_display
|
143 |
)
|
144 |
+
if __name__ == "__main__":
|
145 |
+
demo.launch(debug=True, share=True)
|