Baghdad99 commited on
Commit
1d76ff7
1 Parent(s): d159f8d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def translate_speech(audio_input):
39
  # Remove padding tokens
40
  translated_text_str = translated_text_str.replace("<pad>", "").strip()
41
 
42
- print(f"Translated text string: {translated_text_str}") # Print the translated text string
43
  else:
44
  print("The translated text does not contain 'generated_token_ids'")
45
  return
 
39
  # Remove padding tokens
40
  translated_text_str = translated_text_str.replace("<pad>", "").strip()
41
 
42
+ print(f"Translated text string: {translated_text_str}") # Print the translated text string
43
  else:
44
  print("The translated text does not contain 'generated_token_ids'")
45
  return