Spaces:
Runtime error
Runtime error
Update app.py
Browse filesAdding gradio queueing to help long inference times.
app.py
CHANGED
@@ -104,4 +104,5 @@ file_translate = gr.Interface(
|
|
104 |
with demo:
|
105 |
gr.TabbedInterface([mic_translate, file_translate], ["Microphone", "Audio File"])
|
106 |
|
107 |
-
demo.
|
|
|
|
104 |
with demo:
|
105 |
gr.TabbedInterface([mic_translate, file_translate], ["Microphone", "Audio File"])
|
106 |
|
107 |
+
demo.queue()
|
108 |
+
demo.launch(share=True)
|