Zack commited on
Commit
1dcd34b
1 Parent(s): c01fd49

fixing concurrency error

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1,4 +1,5 @@
1
- ## FULL CREDIT TO THIS DUDE/SPACE --> https://huggingface.co/spaces/osanseviero/mistral-super-fast/tree/main
 
2
  from huggingface_hub import InferenceClient
3
  import gradio as gr
4
 
@@ -100,4 +101,5 @@ with gr.Blocks(css=css) as demo:
100
  examples=[["What is the secret to life?"], ["Write me a recipe for pancakes."]]
101
  )
102
 
103
- demo.queue(concurrency_count=75, max_size=100).launch(debug=True)
 
 
1
+ ## FULL CREDIT --> Omar Sanseviero || @osanseviero
2
+ ## This is bascially a clone of their space here --> https://huggingface.co/spaces/osanseviero/mistral-super-fast/tree/main
3
  from huggingface_hub import InferenceClient
4
  import gradio as gr
5
 
 
101
  examples=[["What is the secret to life?"], ["Write me a recipe for pancakes."]]
102
  )
103
 
104
+ # demo.queue(concurrency_count=75, max_size=100).launch(debug=True)
105
+ demo.queue(max_size=100).launch(debug=True)