Omnibus commited on
Commit
2eab67d
·
1 Parent(s): aa9fe5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -462,8 +462,11 @@ app = gr.ChatInterface(
462
  )
463
 
464
  if __name__ == "__main__":
465
- app.launch(show_api=False)
466
-
 
 
 
467
  '''
468
  with gr.Blocks() as app:
469
  with gr.Row():
 
462
  )
463
 
464
  if __name__ == "__main__":
465
+ app.launch(show_api=False)
466
+ else:
467
+ with gr.Blocks as nope:
468
+ gr.HTML("""Denied""")
469
+ nope.launc()
470
  '''
471
  with gr.Blocks() as app:
472
  with gr.Row():