Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
# Use a pipeline as a high-level helper
|
2 |
from transformers import pipeline
|
3 |
import gradio as gr
|
|
|
4 |
|
5 |
# Description
|
6 |
title = r"""
|
@@ -15,4 +16,4 @@ with gr.Blocks(css=css) as demo:
|
|
15 |
# description
|
16 |
gr.Markdown(title)
|
17 |
|
18 |
-
|
|
|
1 |
# Use a pipeline as a high-level helper
|
2 |
from transformers import pipeline
|
3 |
import gradio as gr
|
4 |
+
import spaces
|
5 |
|
6 |
# Description
|
7 |
title = r"""
|
|
|
16 |
# description
|
17 |
gr.Markdown(title)
|
18 |
|
19 |
+
.queue(max_size=20).launch(share=False)
|