Spaces:
Running
Running
Irpan
commited on
Commit
·
9a0faf6
1
Parent(s):
03dc51e
update
Browse files- app.py +3 -3
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -27,7 +27,7 @@ mms_transcribe = gr.Interface(
|
|
| 27 |
"""
|
| 28 |
Transcribe Uyghur audio from a microphone or input file.
|
| 29 |
|
| 30 |
-
Cilck on examples for sample usage.
|
| 31 |
|
| 32 |
Please keep the audio length under 10 seconds for faster processing since this space is running on CPU basic.
|
| 33 |
"""
|
|
@@ -55,7 +55,7 @@ mms_synthesize = gr.Interface(
|
|
| 55 |
"""
|
| 56 |
Generate audio from input Uyghur text.
|
| 57 |
|
| 58 |
-
Cilck on examples for sample usage.
|
| 59 |
|
| 60 |
Please keep the input text length under 200 characters for faster processing since this space is running on CPU basic.
|
| 61 |
"""
|
|
@@ -85,5 +85,5 @@ with gr.Blocks() as demo:
|
|
| 85 |
tabbed_interface.render()
|
| 86 |
|
| 87 |
if __name__ == "__main__":
|
| 88 |
-
demo.queue()
|
| 89 |
demo.launch()
|
|
|
|
| 27 |
"""
|
| 28 |
Transcribe Uyghur audio from a microphone or input file.
|
| 29 |
|
| 30 |
+
Cilck on examples below for sample usage.
|
| 31 |
|
| 32 |
Please keep the audio length under 10 seconds for faster processing since this space is running on CPU basic.
|
| 33 |
"""
|
|
|
|
| 55 |
"""
|
| 56 |
Generate audio from input Uyghur text.
|
| 57 |
|
| 58 |
+
Cilck on examples below for sample usage.
|
| 59 |
|
| 60 |
Please keep the input text length under 200 characters for faster processing since this space is running on CPU basic.
|
| 61 |
"""
|
|
|
|
| 85 |
tabbed_interface.render()
|
| 86 |
|
| 87 |
if __name__ == "__main__":
|
| 88 |
+
demo.queue(default_concurrency_limit = 2, max_size=20) # <-- Sets up a queue with default parameters
|
| 89 |
demo.launch()
|
requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
gradio==
|
| 2 |
torch
|
| 3 |
torchaudio
|
| 4 |
transformers
|
|
|
|
| 1 |
+
gradio==4.41.0
|
| 2 |
torch
|
| 3 |
torchaudio
|
| 4 |
transformers
|