Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -465,15 +465,15 @@ with gr.Blocks() as verify:
|
|
465 |
inp = gr.Textbox()
|
466 |
btn=gr.Button()
|
467 |
if inp == "pass":
|
468 |
-
|
469 |
-
app.launch(show_api=False)
|
470 |
-
else:
|
471 |
-
pass
|
472 |
else:
|
473 |
with gr.Blocks as nope:
|
474 |
gr.HTML("""Denied""")
|
475 |
nope.launch()
|
476 |
-
|
|
|
|
|
|
|
477 |
'''
|
478 |
with gr.Blocks() as app:
|
479 |
with gr.Row():
|
|
|
465 |
inp = gr.Textbox()
|
466 |
btn=gr.Button()
|
467 |
if inp == "pass":
|
468 |
+
app.launch(show_api=False)
|
|
|
|
|
|
|
469 |
else:
|
470 |
with gr.Blocks as nope:
|
471 |
gr.HTML("""Denied""")
|
472 |
nope.launch()
|
473 |
+
|
474 |
+
if __name__ == "__main__":
|
475 |
+
|
476 |
+
verify.launch()
|
477 |
'''
|
478 |
with gr.Blocks() as app:
|
479 |
with gr.Row():
|