Spaces:
Sleeping
Sleeping
Enable Gradio queue to handle long-running tasks
Browse files
app.py
CHANGED
|
@@ -452,6 +452,7 @@ ACTIVATE_CAROUSEEL_JS = '''
|
|
| 452 |
'''
|
| 453 |
|
| 454 |
with gr.Blocks(theme=gr.themes.Soft(), css=CUSTOM_CSS) as demo:
|
|
|
|
| 455 |
gr.Markdown("# 🚀 PRAgent: Paper to Social Media Post")
|
| 456 |
gr.Markdown("Upload a research paper PDF, and I will generate a social media post for Twitter or Xiaohongshu, complete with images and platform-specific styling.")
|
| 457 |
|
|
|
|
| 452 |
'''
|
| 453 |
|
| 454 |
with gr.Blocks(theme=gr.themes.Soft(), css=CUSTOM_CSS) as demo:
|
| 455 |
+
demo.queue()
|
| 456 |
gr.Markdown("# 🚀 PRAgent: Paper to Social Media Post")
|
| 457 |
gr.Markdown("Upload a research paper PDF, and I will generate a social media post for Twitter or Xiaohongshu, complete with images and platform-specific styling.")
|
| 458 |
|