gtani commited on
Commit
2265da2
·
verified ·
1 Parent(s): 11d733d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -295,7 +295,10 @@ if __name__ == "__main__":
295
  PWD = os.environ.get("APP_PASS", "")
296
  demo = build_gradio_app()
297
  demo.queue().launch(
298
- show_api=False,
299
- auth=(USER, PWD),
300
- share=True,
301
- )
 
 
 
 
295
  PWD = os.environ.get("APP_PASS", "")
296
  demo = build_gradio_app()
297
  demo.queue().launch(
298
+ server_name="0.0.0.0", # in a space or your own server
299
+ show_api=False, # hides the “Use via API” link
300
+ show_share=False, # hides the “Share” link
301
+ show_footer=False, # hides the Gradio footer
302
+ auth=(USER, PWD), # basic-auth from env
303
+ share=True # generate a public link
304
+ )