MANIKANDAN A commited on
Commit
cf11161
·
1 Parent(s): 882b3ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ def login_section():
101
  st.error(f"An error occurred while trying to log in: {e}")
102
 
103
 
104
- def translate_caption(caption, target_language='en'):
105
  translated = translator.translate(caption, dest=target_language)
106
  return translated.text
107
 
 
101
  st.error(f"An error occurred while trying to log in: {e}")
102
 
103
 
104
+ def translate_caption(caption, target_language):
105
  translated = translator.translate(caption, dest=target_language)
106
  return translated.text
107