fvyounesi commited on
Commit
c0db9ad
·
verified ·
1 Parent(s): 58c8d7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=None),
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
  )