Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,12 +91,12 @@ def transcribe_audio(input_source, batch_size):
|
|
| 91 |
iface = gr.Interface(
|
| 92 |
fn=transcribe_audio,
|
| 93 |
inputs=[
|
| 94 |
-
gr.
|
| 95 |
gr.Slider(minimum=1, maximum=32, step=1, value=16, label="Batch Size")
|
| 96 |
],
|
| 97 |
outputs=gr.Textbox(label="Transcription and Metrics"),
|
| 98 |
-
title="Faster Whisper
|
| 99 |
-
description="Enter an audio file path, MP3 URL, or YouTube URL to transcribe using Faster Whisper
|
| 100 |
examples=[
|
| 101 |
["https://www.youtube.com/watch?v=dQw4w9WgXcQ", 16],
|
| 102 |
["https://example.com/path/to/audio.mp3", 16],
|
|
|
|
| 91 |
iface = gr.Interface(
|
| 92 |
fn=transcribe_audio,
|
| 93 |
inputs=[
|
| 94 |
+
gr.Textbox(label="Audio Source (Upload, MP3 URL, or YouTube URL)"),
|
| 95 |
gr.Slider(minimum=1, maximum=32, step=1, value=16, label="Batch Size")
|
| 96 |
],
|
| 97 |
outputs=gr.Textbox(label="Transcription and Metrics"),
|
| 98 |
+
title="Faster Whisper Multi-Input Transcription",
|
| 99 |
+
description="Enter an audio file path, MP3 URL, or YouTube URL to transcribe using Faster Whisper (GitHub version). Adjust the batch size for performance tuning.",
|
| 100 |
examples=[
|
| 101 |
["https://www.youtube.com/watch?v=dQw4w9WgXcQ", 16],
|
| 102 |
["https://example.com/path/to/audio.mp3", 16],
|