Update app.py
Browse files
app.py
CHANGED
|
@@ -324,8 +324,8 @@ def generate_video():
|
|
| 324 |
# # response = await translate_text_async(text_prompt, target_language)
|
| 325 |
# text_prompt = response.choices[0].message.content.strip()
|
| 326 |
|
| 327 |
-
|
| 328 |
-
|
| 329 |
app.config['text_prompt'] = text_prompt
|
| 330 |
print('Final text prompt: ',text_prompt)
|
| 331 |
|
|
|
|
| 324 |
# # response = await translate_text_async(text_prompt, target_language)
|
| 325 |
# text_prompt = response.choices[0].message.content.strip()
|
| 326 |
|
| 327 |
+
response = chat_avatar(text_prompt)
|
| 328 |
+
text_prompt = response.choices[0].message.content.strip()
|
| 329 |
app.config['text_prompt'] = text_prompt
|
| 330 |
print('Final text prompt: ',text_prompt)
|
| 331 |
|