keppy commited on
Commit
bee703c
β€’
1 Parent(s): e5ef682

add main if

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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)