sanghan commited on
Commit
233b0e2
1 Parent(s): df00b4a

add authentication

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import torch
2
  import gradio as gr
3
 
@@ -45,4 +46,4 @@ with gr.Blocks(title="Robust Video Matting") as block:
45
  "<p style='text-align: center'><a href='https://arxiv.org/abs/2108.11515'>Robust High-Resolution Video Matting with Temporal Guidance</a> | <a href='https://github.com/PeterL1n/RobustVideoMatting'>Github Repo</a></p>"
46
  )
47
 
48
- block.queue(api_open=False, max_size=5).launch(debug=True)
 
1
+ import os
2
  import torch
3
  import gradio as gr
4
 
 
46
  "<p style='text-align: center'><a href='https://arxiv.org/abs/2108.11515'>Robust High-Resolution Video Matting with Temporal Guidance</a> | <a href='https://github.com/PeterL1n/RobustVideoMatting'>Github Repo</a></p>"
47
  )
48
 
49
+ block.queue(api_open=False, max_size=5).launch(auth=("user", os.environ["PASSWORD"]))