Spaces:
Running
on
T4
Running
on
T4
gabrielchua
commited on
Commit
•
8034ef8
1
Parent(s):
2da79b0
fix concurrency
Browse files
app.py
CHANGED
@@ -139,8 +139,9 @@ demo = gr.Interface(
|
|
139 |
],
|
140 |
allow_flagging="never",
|
141 |
api_name="generate_podcast", # Add this line
|
142 |
-
theme=gr.themes.Soft()
|
|
|
143 |
)
|
144 |
|
145 |
if __name__ == "__main__":
|
146 |
-
demo.
|
|
|
139 |
],
|
140 |
allow_flagging="never",
|
141 |
api_name="generate_podcast", # Add this line
|
142 |
+
theme=gr.themes.Soft(),
|
143 |
+
concurrency_limit=5
|
144 |
)
|
145 |
|
146 |
if __name__ == "__main__":
|
147 |
+
demo.launch(show_api=True)
|