PierreBrunelle
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -226,11 +226,11 @@ def process_video(video_file: gr.Video, api_key: str, prompt_template: str, voic
|
|
226 |
return None
|
227 |
|
228 |
# Generate audio and get results
|
229 |
-
video_table.add_computed_column(audio_path=generate_voiceover(video_table.content, voice_choice)
|
230 |
results = video_table.select(
|
231 |
video_table.content,
|
232 |
video_table.audio_path
|
233 |
-
).tail(1)
|
234 |
|
235 |
if progress:
|
236 |
progress(1.0, desc="Processing complete!")
|
|
|
226 |
return None
|
227 |
|
228 |
# Generate audio and get results
|
229 |
+
video_table.add_computed_column(audio_path=generate_voiceover(video_table.content, voice_choice))
|
230 |
results = video_table.select(
|
231 |
video_table.content,
|
232 |
video_table.audio_path
|
233 |
+
).tail(1)
|
234 |
|
235 |
if progress:
|
236 |
progress(1.0, desc="Processing complete!")
|