Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -510,6 +510,7 @@ def do_html_video_speak(words_to_speak, azure_language):
|
|
| 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)
|
|
|
|
| 510 |
# 'azure_voice': azure_voice,
|
| 511 |
# 'azure_style': 'friendly',
|
| 512 |
'animation_pipeline': 'high_quality', #'high_speed',
|
| 513 |
+
'idle_url': 'https://ugc-idle.s3-us-west-2.amazonaws.com/8ebe971bb35f802dbe31e29676e7b518.mp4'
|
| 514 |
}
|
| 515 |
api_endpoint = "https://api.exh.ai/animations/v1/generate_lipsync"
|
| 516 |
res = requests.post(api_endpoint, json=body, headers=headers)
|