Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
auth dependency
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ with gr.Blocks() as main_demo:
|
|
79 |
gr.Button("Logout", link="/logout")
|
80 |
main_demo.load(greet, None, m)
|
81 |
|
82 |
-
app = gr.mount_gradio_app(app, main_demo, path="/gradio")
|
83 |
|
84 |
|
85 |
if __name__ == '__main__':
|
|
|
79 |
gr.Button("Logout", link="/logout")
|
80 |
main_demo.load(greet, None, m)
|
81 |
|
82 |
+
app = gr.mount_gradio_app(app, main_demo, path="/gradio", auth_dependency=get_user)
|
83 |
|
84 |
|
85 |
if __name__ == '__main__':
|