iamrobotbear commited on
Commit
81f5c04
·
1 Parent(s): 4b1bad0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -1,10 +1,5 @@
1
  import gradio as gr
2
  import os
3
 
4
- ok = os.getenv("P")
5
- auth = ("gradio", os.getenv("P"))
6
- title = "Hello Auth"
7
- #gr.Interface.load("spaces/eugenesiow/remove-bg").launch()
8
-
9
- gr.Interface(lambda x: "Hello " + x, "text", "text", title=title).launch(auth=auth)
10
- gr.Interface.load("spaces/iamrobotbear/webui-docker").launch()
 
1
  import gradio as gr
2
  import os
3
 
4
+ demo = gr.Interface.load("spaces/camenduru/webui-docker")
5
+ demo.launch(enable_queue=False, auth=("username", "password"), auth_message="Try this")