Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -275,14 +275,14 @@ with gr.Blocks(css=css) as demo:
|
|
| 275 |
|
| 276 |
"""
|
| 277 |
)
|
| 278 |
-
|
| 279 |
with gr.Column():
|
| 280 |
record_input = gr.Audio(
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
|
| 286 |
with gr.Row():
|
| 287 |
audio_r_translate = gr.Button("Check the transcription/Vérifier la transcription 👍", elem_id="check_btn_1")
|
| 288 |
audio_r_direct_sd = gr.Button("Generate the image right now! / Génerer l'image directement! 🖌️", elem_id="magic_btn_1")
|
|
|
|
| 275 |
|
| 276 |
"""
|
| 277 |
)
|
| 278 |
+
with gr.Tab(label="Record/Enregistrer", elem_id="record_tab"):
|
| 279 |
with gr.Column():
|
| 280 |
record_input = gr.Audio(
|
| 281 |
+
source="microphone",
|
| 282 |
+
type="filepath",
|
| 283 |
+
show_label=False,
|
| 284 |
+
elem_id="record_btn"
|
| 285 |
+
)
|
| 286 |
with gr.Row():
|
| 287 |
audio_r_translate = gr.Button("Check the transcription/Vérifier la transcription 👍", elem_id="check_btn_1")
|
| 288 |
audio_r_direct_sd = gr.Button("Generate the image right now! / Génerer l'image directement! 🖌️", elem_id="magic_btn_1")
|