prateekbh commited on
Commit
f068516
1 Parent(s): 2126de3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- demo.render()
 
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)