akhatr-phyniks commited on
Commit
a00044e
·
verified ·
1 Parent(s): 12442c9

fixing build errors

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -181,6 +181,5 @@ auth_password = os.getenv("AUTH_PASSWORD", "admin")
181
 
182
  # Launch with authentication
183
  demo.launch(
184
- share=True,
185
- auth=(auth_username, auth_password)
186
  )
 
181
 
182
  # Launch with authentication
183
  demo.launch(
184
+ auth=(auth_username, auth_password) if auth_username and auth_password else None
 
185
  )