Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,9 +43,10 @@ def transcribe(inputs, previous_transcription):
|
|
| 43 |
|
| 44 |
with gr.Blocks() as demo:
|
| 45 |
with gr.Column():
|
|
|
|
| 46 |
input_audio_microphone = gr.Audio(streaming=True)
|
| 47 |
output = gr.Textbox(label="Transcription", value="")
|
| 48 |
|
| 49 |
-
input_audio_microphone.stream(transcribe, [input_audio_microphone, output], [output], time_limit=45, stream_every=
|
| 50 |
|
| 51 |
demo.queue().launch()
|
|
|
|
| 43 |
|
| 44 |
with gr.Blocks() as demo:
|
| 45 |
with gr.Column():
|
| 46 |
+
gr.Markdown(f"# Realtime Whisper Large V3 Turbo: Transcribe Audio\n Transcribe long-form microphone or audio inputs in Realtime Demo uses the checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers")
|
| 47 |
input_audio_microphone = gr.Audio(streaming=True)
|
| 48 |
output = gr.Textbox(label="Transcription", value="")
|
| 49 |
|
| 50 |
+
input_audio_microphone.stream(transcribe, [input_audio_microphone, output], [output], time_limit=45, stream_every=1, concurrency_limit=None)
|
| 51 |
|
| 52 |
demo.queue().launch()
|