Spaces:
Running
Running
removed preprocessed now.
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ def process_files_with_live_updates(
|
|
112 |
for idx, file in enumerate(files):
|
113 |
# Preprocess audio file
|
114 |
preprocessed_path = preprocess_audio(file.name)
|
115 |
-
|
116 |
# Transcribe audio using the AI model with timestamp support
|
117 |
transcription_result = speech_to_text(preprocessed_path, return_timestamps=True)
|
118 |
transcription = transcription_result["text"]
|
|
|
112 |
for idx, file in enumerate(files):
|
113 |
# Preprocess audio file
|
114 |
preprocessed_path = preprocess_audio(file.name)
|
115 |
+
|
116 |
# Transcribe audio using the AI model with timestamp support
|
117 |
transcription_result = speech_to_text(preprocessed_path, return_timestamps=True)
|
118 |
transcription = transcription_result["text"]
|