Spaces:
Running
Running
add authentication
Browse files
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(
|
|
|
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"]))
|