Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -2,10 +2,12 @@ import os
|
|
2 |
import gradio as gr
|
3 |
import helper
|
4 |
|
5 |
-
|
6 |
-
|
|
|
|
|
7 |
|
8 |
app = helper.registry(name="marco-o1")
|
9 |
|
10 |
if __name__ == "__main__":
|
11 |
-
app.launch(share=True, auth=[
|
|
|
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)
|