gabrielclark3330 commited on
Commit
715d92e
·
1 Parent(s): 122bb5c

Do hacky thread limit to stop both models from running at once

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -154,7 +154,8 @@ with gr.Blocks() as demo:
154
  )
155
 
156
  if __name__ == "__main__":
157
- demo.queue().launch()
 
158
  '''
159
 
160
  import os
 
154
  )
155
 
156
  if __name__ == "__main__":
157
+ demo.queue().launch(max_threads=1)
158
+
159
  '''
160
 
161
  import os