Skip to content

Commit

Permalink
print what is wrong with d-id if anything
Browse files Browse the repository at this point in the history
  • Loading branch information
cervelas committed Jan 29, 2024
1 parent a07cab5 commit 8e1435e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions machineatubes/tube.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,9 @@ def get_intro_video(self, id):
if response.status_code == 200:
print("result ok from d-id !")
self.infos["intro_video_url"] = video_url
else:
print("bad response from d-id: %s" % response.status_code)
print(response)

if Tube.playing is False:
Tube.window.evaluate_js('loaded()')
Expand Down

0 comments on commit 8e1435e

Please sign in to comment.