Ubaidbhat commited on
Commit
bc63080
·
1 Parent(s): 50b5f4f

changes done

Browse files
Files changed (3) hide show
  1. app.py +1 -1
  2. ubaid-speech.mp3 +0 -0
  3. ubaid-speech.wav +0 -0
app.py CHANGED
@@ -222,7 +222,7 @@ def pred(user_name, image_path, audio, user_input):
222
  res = output["description"]
223
  with open(input_filepath, 'w') as f:
224
  f.write("Studs Terkel: " + res)
225
- return None, "", new_image_path , input_filepath, transform_text_to_speech(res, user_name)
226
 
227
  else:
228
 
 
222
  res = output["description"]
223
  with open(input_filepath, 'w') as f:
224
  f.write("Studs Terkel: " + res)
225
+ return None, "", "" , res, transform_text_to_speech(res, user_name)
226
 
227
  else:
228
 
ubaid-speech.mp3 ADDED
Binary file (337 kB). View file
 
ubaid-speech.wav ADDED
Binary file (809 kB). View file