Spaces:
Runtime error
Runtime error
Commit
·
43b78d0
1
Parent(s):
04a3d20
Update app.py
Browse files
app.py
CHANGED
@@ -18,8 +18,7 @@ def checks(pass_box, cnt):
|
|
18 |
granted = gr.update(visible=False)
|
19 |
pass
|
20 |
elif str(pass_box) == str(ok):
|
21 |
-
|
22 |
-
gr.Interface.load("spaces/eugenesiow/remove-bg").launch()
|
23 |
pass_box = gr.update(visible=False)
|
24 |
check = gr.update(visible=False)
|
25 |
granted = gr.update(visible=True)
|
@@ -46,4 +45,5 @@ with gr.Blocks() as sentry:
|
|
46 |
cnt = gr.Textbox(value=5, visible=False, interactive=False)
|
47 |
gr.Column()
|
48 |
pass_btn.click(checks, [pass_box, cnt], [head, pass_box, check, granted, cnt], show_progress=False)
|
49 |
-
sentry.launch(show_api=False, enable_queue=False)
|
|
|
|
18 |
granted = gr.update(visible=False)
|
19 |
pass
|
20 |
elif str(pass_box) == str(ok):
|
21 |
+
gr.Interface.load("spaces/eugenesiow/remove-bg").launch()
|
|
|
22 |
pass_box = gr.update(visible=False)
|
23 |
check = gr.update(visible=False)
|
24 |
granted = gr.update(visible=True)
|
|
|
45 |
cnt = gr.Textbox(value=5, visible=False, interactive=False)
|
46 |
gr.Column()
|
47 |
pass_btn.click(checks, [pass_box, cnt], [head, pass_box, check, granted, cnt], show_progress=False)
|
48 |
+
#sentry.launch(show_api=False, enable_queue=False)
|
49 |
+
sentry.launch(server_name="0.0.0.0", server_port=7860)
|