Update app.py
Browse files
app.py
CHANGED
|
@@ -305,8 +305,6 @@ def upload_and_manage(file, target_language, mode="transcription"):
|
|
| 305 |
voiceover_path = "voiceover.wav"
|
| 306 |
logger.info(f"Using audio path: {audio_path}, output video path: {output_video_path}, voiceover path: {voiceover_path}")
|
| 307 |
|
| 308 |
-
list_available_fonts()
|
| 309 |
-
|
| 310 |
# Step 1: Transcribe audio from uploaded media file and get timestamps
|
| 311 |
logger.info("Transcribing audio...")
|
| 312 |
transcription_json, source_language = transcribe_video(file.name)
|
|
|
|
| 305 |
voiceover_path = "voiceover.wav"
|
| 306 |
logger.info(f"Using audio path: {audio_path}, output video path: {output_video_path}, voiceover path: {voiceover_path}")
|
| 307 |
|
|
|
|
|
|
|
| 308 |
# Step 1: Transcribe audio from uploaded media file and get timestamps
|
| 309 |
logger.info("Transcribing audio...")
|
| 310 |
transcription_json, source_language = transcribe_video(file.name)
|