Spaces:
Running
Running
removed processed files from output again, since there was no problem.
Browse files
app.py
CHANGED
@@ -155,10 +155,10 @@ def process_files_with_live_updates(
|
|
155 |
with gr.Blocks() as demo:
|
156 |
|
157 |
# Title and Description
|
158 |
-
gr.Markdown("#
|
159 |
gr.Markdown(
|
160 |
"""
|
161 |
-
Upload multiple audio files, select desired processing options, and view real-time updates as files are transcribed.
|
162 |
The application uses advanced AI models for sequential speech-to-text translation.
|
163 |
"""
|
164 |
)
|
@@ -170,11 +170,12 @@ with gr.Blocks() as demo:
|
|
170 |
with gr.Column():
|
171 |
model_dropdown = gr.Dropdown(
|
172 |
choices=[
|
|
|
173 |
"primeline/whisper-tiny-german-1224",
|
174 |
-
"primeline/whisper-tiny-german"
|
175 |
-
|
176 |
label="Select Model",
|
177 |
-
value="primeline/whisper-
|
178 |
)
|
179 |
dropdown_2 = gr.Dropdown(
|
180 |
choices=["Format: Plain Text"],
|
@@ -199,7 +200,7 @@ with gr.Blocks() as demo:
|
|
199 |
)
|
200 |
|
201 |
clear_button.click(
|
202 |
-
lambda: (None, "primeline/whisper-
|
203 |
inputs=[], # No inputs
|
204 |
outputs=[file_input, model_dropdown, dropdown_2, output_md, output_files],
|
205 |
)
|
|
|
155 |
with gr.Blocks() as demo:
|
156 |
|
157 |
# Title and Description
|
158 |
+
gr.Markdown("# Speech-to-Text Batch Processor (German)")
|
159 |
gr.Markdown(
|
160 |
"""
|
161 |
+
Upload multiple audio files (.wav, .mp3, .m4a, .aac), select desired processing options (i.e. the model), and view real-time updates as files are transcribed.
|
162 |
The application uses advanced AI models for sequential speech-to-text translation.
|
163 |
"""
|
164 |
)
|
|
|
170 |
with gr.Column():
|
171 |
model_dropdown = gr.Dropdown(
|
172 |
choices=[
|
173 |
+
"primeline/whisper-large-v3-german",
|
174 |
"primeline/whisper-tiny-german-1224",
|
175 |
+
"primeline/whisper-tiny-german"
|
176 |
+
],
|
177 |
label="Select Model",
|
178 |
+
value="primeline/whisper-large-v3-german",
|
179 |
)
|
180 |
dropdown_2 = gr.Dropdown(
|
181 |
choices=["Format: Plain Text"],
|
|
|
200 |
)
|
201 |
|
202 |
clear_button.click(
|
203 |
+
lambda: (None, "primeline/whisper-large-v3-german", "Format: Plain Text", STANDARD_OUTPUT_TEXT, None),
|
204 |
inputs=[], # No inputs
|
205 |
outputs=[file_input, model_dropdown, dropdown_2, output_md, output_files],
|
206 |
)
|