Mgolo commited on
Commit
dd02666
·
verified ·
1 Parent(s): 50b6461

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -730,12 +730,12 @@ class TranslationApp:
730
  correct_trans # keep text on error
731
  )
732
 
733
- # Connect events
734
- input_mode.change(
735
  fn=update_visibility,
736
  inputs=input_mode,
737
  outputs=[input_text, audio_input, file_input, extracted_text, output_text]
738
- )
739
 
740
  # Chain: Process → Translate → Store context → Wait for feedback
741
  process_event = translate_btn.click(
 
730
  correct_trans # keep text on error
731
  )
732
 
733
+ # Connect events
734
+ input_mode.change(
735
  fn=update_visibility,
736
  inputs=input_mode,
737
  outputs=[input_text, audio_input, file_input, extracted_text, output_text]
738
+ )
739
 
740
  # Chain: Process → Translate → Store context → Wait for feedback
741
  process_event = translate_btn.click(