justin-shopcapsule commited on
Commit
cb4439d
1 Parent(s): 82490b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,4 +8,4 @@ GRADIO_PASSWORD=os.getenv('GRADIO_PASSWORD')
8
  with gr.Blocks(css="body{background-color:red !important}") as demo:
9
  iface = gr.Interface.load("spaces/myshop-capsule/gradio-myshop-backend-algos-staging", api_key=API_KEY)
10
 
11
- demo.launch()
 
8
  with gr.Blocks(css="body{background-color:red !important}") as demo:
9
  iface = gr.Interface.load("spaces/myshop-capsule/gradio-myshop-backend-algos-staging", api_key=API_KEY)
10
 
11
+ demo.launch(auth = (GRADIO_USERNAME, GRADIO_PASSWORD), auth_message='Enter username and password')