EC2 Default User commited on
Commit
ca70a1f
1 Parent(s): e5f3be9

change mp3 file ab mode to wb mode

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -224,6 +224,7 @@ def get_a_talk(id, api_key = os.environ.get('DID_API_KEY')):
224
 
225
  def get_mp4_video(input, avatar_url=avatar_url):
226
  response = generate_talk_with_audio(input=input, avatar_url=avatar_url)
 
227
  talk = get_a_talk(response['id'])
228
  video_url = ""
229
  index = 0
 
224
 
225
  def get_mp4_video(input, avatar_url=avatar_url):
226
  response = generate_talk_with_audio(input=input, avatar_url=avatar_url)
227
+ print("DID response: "+response)
228
  talk = get_a_talk(response['id'])
229
  video_url = ""
230
  index = 0