Ed5 commited on
Commit
8ba65ff
·
verified ·
1 Parent(s): d1c3f7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -392,4 +392,10 @@ def create_app():
392
 
393
  if __name__ == "__main__":
394
  app = create_app()
395
- app.launch(server_name="0.0.0.0", server_port=7860, css=css, theme=gr.themes.Soft())
 
 
 
 
 
 
 
392
 
393
  if __name__ == "__main__":
394
  app = create_app()
395
+ app.launch(
396
+ server_name="0.0.0.0",
397
+ server_port=7860,
398
+ css=css,
399
+ theme=gr.themes.Soft(),
400
+ auth=("admin", "12345") # <--- ДОБАВЬТЕ ЭТО (Логин, Пароль)
401
+ )