Update app.py
Browse files
app.py
CHANGED
|
@@ -35,10 +35,10 @@ iface = gr.Interface(
|
|
| 35 |
inputs=[
|
| 36 |
gr.Audio(sources=["microphone", "upload"], type="filepath", label="Audio Input"),
|
| 37 |
#gr.Textbox(label="Language code (e.g., en-US, fa-IR)")
|
| 38 |
-
gr.Dropdown(choices=["fa-IR", "en-US", "ar-SA"], label="Choose right language:")
|
| 39 |
],
|
| 40 |
#outputs="text",
|
| 41 |
-
outputs=gr.Textbox(label="Transcription results", lines=
|
| 42 |
title="Speech-to-Text Service",
|
| 43 |
description="Upload or record audio and get transcription using our STT service."
|
| 44 |
)
|
|
|
|
| 35 |
inputs=[
|
| 36 |
gr.Audio(sources=["microphone", "upload"], type="filepath", label="Audio Input"),
|
| 37 |
#gr.Textbox(label="Language code (e.g., en-US, fa-IR)")
|
| 38 |
+
gr.Dropdown(choices=["fa-IR", "en-US", "ar-SA"], label="Choose the right language:")
|
| 39 |
],
|
| 40 |
#outputs="text",
|
| 41 |
+
outputs=gr.Textbox(label="Transcription results", lines=10),
|
| 42 |
title="Speech-to-Text Service",
|
| 43 |
description="Upload or record audio and get transcription using our STT service."
|
| 44 |
)
|