nanom commited on
Commit
081631c
Β·
1 Parent(s): 84c1f02

Add concurrency

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +2 -2
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  title: Categories Error Analysis
3
- emoji: 😱 πŸ›
4
  colorFrom: blue
5
  colorTo: gray
6
  sdk: gradio
 
1
  ---
2
  title: Categories Error Analysis
3
+ emoji: πŸ›
4
  colorFrom: blue
5
  colorTo: gray
6
  sdk: gradio
app.py CHANGED
@@ -11,7 +11,7 @@ demo = gr.Blocks(
11
  css=".container { max-width: 98%; margin: auto;};")
12
 
13
  with demo:
14
- gr.Markdown("<h2><center> 😱 Categories Error Analysis πŸ›</center></h2>")
15
  with gr.Row():
16
  with gr.Column():
17
  with gr.Row():
@@ -39,5 +39,5 @@ with demo:
39
  inputs=[username,predictions,category,model,split,next_idx_sample],
40
  outputs=[next_idx_sample, progress, img, info])
41
 
42
- # demo.queue(concurrency_count=10)
43
  demo.launch(debug=False)
 
11
  css=".container { max-width: 98%; margin: auto;};")
12
 
13
  with demo:
14
+ gr.Markdown("<h2><center> Categories Error Analysis πŸ›</center></h2>")
15
  with gr.Row():
16
  with gr.Column():
17
  with gr.Row():
 
39
  inputs=[username,predictions,category,model,split,next_idx_sample],
40
  outputs=[next_idx_sample, progress, img, info])
41
 
42
+ demo.queue(concurrency_count=10)
43
  demo.launch(debug=False)