Muennighoff ysharma HF staff commited on
Commit
2e5b810
1 Parent(s): c9eda65

Added parallel worker threads (#10)

Browse files

- Added parallel worker threads (37b76995c5f603a9d96ae25184eac87590200154)


Co-authored-by: yuvraj sharma <ysharma@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -783,6 +783,7 @@ with block:
783
  block.load(get_mteb_data, inputs=[task_sts], outputs=data_sts)
784
  block.load(get_mteb_data, inputs=[task_summarization], outputs=data_summarization)
785
 
 
786
  block.launch()
787
 
788
 
 
783
  block.load(get_mteb_data, inputs=[task_sts], outputs=data_sts)
784
  block.load(get_mteb_data, inputs=[task_summarization], outputs=data_summarization)
785
 
786
+ block.queue(concurrency_count=40, max_size=10)
787
  block.launch()
788
 
789