tomaseo2022 commited on
Commit
56589e1
·
1 Parent(s): b6bb63d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -251,7 +251,7 @@ def video_to_translate(url,Idioma_de_Origen,Idioma_de_Destino):
251
  print("Recognize from ",lang_in)
252
  #There is a limit of 10 MB on all single requests sent to the API using local file
253
  size_wav=getSize("audio.wav")
254
- if size_wav > 50000000:
255
  print("The wav is too large")
256
  audio_chunks=split_audio_wav("audio.wav")
257
  text=""
 
251
  print("Recognize from ",lang_in)
252
  #There is a limit of 10 MB on all single requests sent to the API using local file
253
  size_wav=getSize("audio.wav")
254
+ if size_wav > 100000000:
255
  print("The wav is too large")
256
  audio_chunks=split_audio_wav("audio.wav")
257
  text=""