akhaliq HF staff commited on
Commit
2dc4efc
1 Parent(s): b1f77aa

test for concurrency

Browse files

Hi

@nev

,

sorry for the second PR :D, since this space uses very little vram, we can test parallelizing the requests as the new queue also supports that, starting with 5 parallel requests.

Thanks,

cc: @farukozderim

@freddyaboulton



@multimodalart

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,5 +77,5 @@ def main():
77
  return ui
78
 
79
  ui = main()
80
- ui.launch()
81
  demo = ui
 
77
  return ui
78
 
79
  ui = main()
80
+ ui.configure_queue(concurrency_count=5).launch()
81
  demo = ui