Spaces:
Sleeping
Sleeping
Update app.py
Browse filespassing auth details from environ
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
|
2 |
import gradio as gr
|
|
|
3 |
|
4 |
from utils import *
|
5 |
|
@@ -40,4 +41,4 @@ with gr.Blocks() as demo:
|
|
40 |
# gr.Examples(["My name is Clara and I am"], inputs=[seed])
|
41 |
|
42 |
if __name__ == "__main__":
|
43 |
-
demo.launch(auth=('
|
|
|
1 |
|
2 |
import gradio as gr
|
3 |
+
import os
|
4 |
|
5 |
from utils import *
|
6 |
|
|
|
41 |
# gr.Examples(["My name is Clara and I am"], inputs=[seed])
|
42 |
|
43 |
if __name__ == "__main__":
|
44 |
+
demo.launch(auth=(os.environ['username'], os.environ['password']))
|