kateforsberg commited on
Commit
fe9dcac
·
1 Parent(s): d699829

updated auth to prevent error hopefully

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -131,4 +131,7 @@ with gr.Blocks() as demo:
131
  # with gr.Blocks() as failed:
132
  # gr.Markdown("Environment Error - No username and password provided")
133
  # failed.launch()
134
- demo.launch(auth=(os.environ.get('HF_USERNAME',''),os.environ.get('HF_PASSWORD','')))
 
 
 
 
131
  # with gr.Blocks() as failed:
132
  # gr.Markdown("Environment Error - No username and password provided")
133
  # failed.launch()
134
+ demo.launch(
135
+ share=True,
136
+ server_name="0.0.0.0",
137
+ auth=(os.environ.get('HF_USERNAME',''),os.environ.get('HF_PASSWORD','')))