AMead10 commited on
Commit
ac5eb0c
·
1 Parent(s): f3bf411

add if nam main

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -423,5 +423,6 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
423
  outputs=save_output,
424
  )
425
 
426
- # Launch the app
427
- app.launch(auth=auth)
 
 
423
  outputs=save_output,
424
  )
425
 
426
+ if __name__ == "__main__":
427
+ # Launch the app
428
+ app.launch(auth=auth, share=True)