Div99 commited on
Commit
750a2b6
·
1 Parent(s): 093baca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -504,11 +504,12 @@ def do_html_video_speak(words_to_speak, azure_language):
504
 
505
  headers = {"Authorization": f"Bearer {os.environ['EXHUMAN_API_KEY']}"}
506
  body = {
507
- 'bot_name': 'DIV',
508
  'bot_response': words_to_speak,
509
- 'azure_voice': azure_voice,
510
- 'azure_style': 'friendly',
511
- 'animation_pipeline': 'high_speed',
 
512
  }
513
  api_endpoint = "https://api.exh.ai/animations/v1/generate_lipsync"
514
  res = requests.post(api_endpoint, json=body, headers=headers)
 
504
 
505
  headers = {"Authorization": f"Bearer {os.environ['EXHUMAN_API_KEY']}"}
506
  body = {
507
+ 'bot_name': 'Div',
508
  'bot_response': words_to_speak,
509
+ 'voice_name': 'Max',
510
+ # 'azure_voice': azure_voice,
511
+ # 'azure_style': 'friendly',
512
+ 'animation_pipeline': 'high_quality', #'high_speed',
513
  }
514
  api_endpoint = "https://api.exh.ai/animations/v1/generate_lipsync"
515
  res = requests.post(api_endpoint, json=body, headers=headers)