github-actions[bot] commited on
Commit
483f81f
·
1 Parent(s): 7805d51

Sync with https://github.com/mozilla-ai/speech-to-text-finetune

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -92,7 +92,8 @@ def setup_gradio_demo():
92
  ### 1. Select a language from the dropdown menu.
93
  ### 2. Select which model to load from one of the options below.
94
  ### 3. Load the model by clicking the Load model button.
95
- ### 4. Record a message and click Transcribe to see the transcription.
 
96
  """
97
  )
98
  ### Language & Model selection ###
@@ -122,9 +123,9 @@ def setup_gradio_demo():
122
 
123
  ### Transcription ###
124
  audio_input = gr.Audio(
125
- sources=["upload", "microphone"],
126
  type="filepath",
127
- label="Record a message",
128
  show_download_button=True,
129
  max_length=30,
130
  )
 
92
  ### 1. Select a language from the dropdown menu.
93
  ### 2. Select which model to load from one of the options below.
94
  ### 3. Load the model by clicking the Load model button.
95
+ ### 4. Record a message or upload an audio file.
96
+ ### 5. Click Transcribe to see the transcription generated by the model.
97
  """
98
  )
99
  ### Language & Model selection ###
 
123
 
124
  ### Transcription ###
125
  audio_input = gr.Audio(
126
+ sources=["microphone", "upload"],
127
  type="filepath",
128
+ label="Record a message / Upload audio file",
129
  show_download_button=True,
130
  max_length=30,
131
  )