Update app.py
Browse files
app.py
CHANGED
@@ -253,7 +253,7 @@ def generate_video():
|
|
253 |
app.config['text_prompt'] = text_prompt
|
254 |
print('Final text prompt: ',text_prompt)
|
255 |
|
256 |
-
source_image_path = save_uploaded_file(source_image, 'source_image.
|
257 |
print(source_image_path)
|
258 |
|
259 |
# driven_audio_path = await voice_cloning_async(voice_cloning, voice_gender, text_prompt, user_voice)
|
|
|
253 |
app.config['text_prompt'] = text_prompt
|
254 |
print('Final text prompt: ',text_prompt)
|
255 |
|
256 |
+
source_image_path = save_uploaded_file(source_image, 'source_image.mp4',TEMP_DIR)
|
257 |
print(source_image_path)
|
258 |
|
259 |
# driven_audio_path = await voice_cloning_async(voice_cloning, voice_gender, text_prompt, user_voice)
|