Spiny commited on
Commit
5a387e8
·
1 Parent(s): a51edbb
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -117,13 +117,13 @@ def TranscribeAudio(filepath):
117
  return transcription.text
118
 
119
  inputs = [
120
- gr.Audio(sources='microphone', type='filepath', label="Fichier audio"),
121
- gr.Slider(minimum=1, maximum=5, value=3)
122
  ]
123
 
124
  outputs_image = [
125
- gr.Gallery(type="pil", label="Output Image"),
126
- "text"
127
  ]
128
 
129
  interface_image = gr.Interface(
 
117
  return transcription.text
118
 
119
  inputs = [
120
+ gr.Audio(sources='microphone', type='filepath', label="Entrée audio"),
121
+ gr.Slider(minimum=1, maximum=5, value=3, step=1, label="Nombre de diapo")
122
  ]
123
 
124
  outputs_image = [
125
+ gr.Gallery(type="pil", label="Images des diapos"),
126
+ gr.Textbox(label="Texte des diapos", lines=3)
127
  ]
128
 
129
  interface_image = gr.Interface(