rodrigomasini commited on
Commit
0bed690
·
verified ·
1 Parent(s): 1e2b4b4

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -3
main.py CHANGED
@@ -2,10 +2,12 @@ import os
2
  import gradio as gr
3
  import helper
4
 
5
- USERS = os.environ.get("USERS")
6
- PWD = os.environ.get("PWD")
 
 
7
 
8
  app = helper.registry(name="marco-o1")
9
 
10
  if __name__ == "__main__":
11
- app.launch(share=True, auth=[USERS, PWD], allowed_paths=["."], ssr_mode=False)
 
2
  import gradio as gr
3
  import helper
4
 
5
+ USER_NINA = os.environ.get("USER_NINA")
6
+ USER_GUTO = os.environ.get("USER_GUTO")
7
+ PWD_NINA = os.environ.get("PWD_NINA")
8
+ PWD_GUTO = os.environ.get("PWD_GUTO")
9
 
10
  app = helper.registry(name="marco-o1")
11
 
12
  if __name__ == "__main__":
13
+ app.launch(share=True, auth=[(USER_NINA, USER_GUTO), (PWD_NINA, PWD_GUTO)], allowed_paths=["."], ssr_mode=False)