Omnibus commited on
Commit
742524a
·
1 Parent(s): 7dbdb9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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
- if __name__ == "__main__":
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
- verify.launch()
 
 
 
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():