Spaces:
Build error
Build error
fini
Browse files
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="
|
| 121 |
-
gr.Slider(minimum=1, maximum=5, value=3)
|
| 122 |
]
|
| 123 |
|
| 124 |
outputs_image = [
|
| 125 |
-
gr.Gallery(type="pil", label="
|
| 126 |
-
"
|
| 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(
|