Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -226,6 +226,6 @@ with gr.Blocks(css="style.css", theme=gr.themes.Soft()) as app:
|
|
| 226 |
|
| 227 |
|
| 228 |
if is_huggingface:
|
| 229 |
-
app.launch() # No authentication for Hugging Face Spaces
|
| 230 |
else:
|
| 231 |
-
app.launch(auth=auth_users) # Use authentication locally or on private deployments
|
|
|
|
| 226 |
|
| 227 |
|
| 228 |
if is_huggingface:
|
| 229 |
+
app.launch(share=True) # No authentication for Hugging Face Spaces
|
| 230 |
else:
|
| 231 |
+
app.launch(auth=auth_users, share=True) # Use authentication locally or on private deployments
|