Spaces:
Sleeping
Sleeping
Commit
·
9a0f9e8
1
Parent(s):
aa5c3c5
Debugging
Browse files
app.py
CHANGED
|
@@ -275,6 +275,10 @@ with gr.Blocks() as interface:
|
|
| 275 |
fn=handle_audio_translation,
|
| 276 |
inputs=[stored_audio, translation_direction],
|
| 277 |
outputs=[save_status, input_text, output_text, audio_input]
|
|
|
|
|
|
|
|
|
|
|
|
|
| 278 |
)
|
| 279 |
verify_button.click(
|
| 280 |
fn=save_verified_translation,
|
|
|
|
| 275 |
fn=handle_audio_translation,
|
| 276 |
inputs=[stored_audio, translation_direction],
|
| 277 |
outputs=[save_status, input_text, output_text, audio_input]
|
| 278 |
+
).then(
|
| 279 |
+
fn=lambda txt: txt,
|
| 280 |
+
inputs=output_text,
|
| 281 |
+
outputs=verified_text
|
| 282 |
)
|
| 283 |
verify_button.click(
|
| 284 |
fn=save_verified_translation,
|