Spaces:
Sleeping
Sleeping
Zack
commited on
Commit
·
1dcd34b
1
Parent(s):
c01fd49
fixing concurrency error
Browse files
app.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
-
## FULL CREDIT
|
|
|
|
| 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)
|