Eric Michael Martinez commited on
Commit
d781ef9
·
1 Parent(s): 5e16c68
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -124,4 +124,6 @@ def get_chatbot_app(additional_examples=[]):
124
 
125
  # Call the launch_chatbot function to start the chatbot interface using Gradio
126
  # Set the share parameter to False, meaning the interface will not be publicly accessible
127
- get_chatbot_app().launch(auth=auth)
 
 
 
124
 
125
  # Call the launch_chatbot function to start the chatbot interface using Gradio
126
  # Set the share parameter to False, meaning the interface will not be publicly accessible
127
+ app = get_chatbot_app((
128
+ app.queue() # this is to be able to queue multiple requests at once
129
+ app.launch(auth=auth)