Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -295,7 +295,10 @@ if __name__ == "__main__":
|
|
| 295 |
PWD = os.environ.get("APP_PASS", "")
|
| 296 |
demo = build_gradio_app()
|
| 297 |
demo.queue().launch(
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
|
| 301 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 295 |
PWD = os.environ.get("APP_PASS", "")
|
| 296 |
demo = build_gradio_app()
|
| 297 |
demo.queue().launch(
|
| 298 |
+
server_name="0.0.0.0", # in a space or your own server
|
| 299 |
+
show_api=False, # hides the “Use via API” link
|
| 300 |
+
show_share=False, # hides the “Share” link
|
| 301 |
+
show_footer=False, # hides the Gradio footer
|
| 302 |
+
auth=(USER, PWD), # basic-auth from env
|
| 303 |
+
share=True # generate a public link
|
| 304 |
+
)
|