sandz7 commited on
Commit
f0270fa
β€’
1 Parent(s): 2c4c1d7

added queue and launch to demo

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -121,5 +121,5 @@ with gr.Blocks(fill_height=True) as demo:
121
  textbox=chat_input,
122
  )
123
 
124
- if __name__ == "__main__":
125
- demo.launch()
 
121
  textbox=chat_input,
122
  )
123
 
124
+ demo.queue(api_open=False)
125
+ demo.launch(show_api=False, share=False)