Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def transcribe_and_summarize(video_file):
|
|
| 28 |
|
| 29 |
# Clean up the audio file
|
| 30 |
os.remove(audio_file)
|
| 31 |
-
|
| 32 |
|
| 33 |
except Exception as e:
|
| 34 |
return str(e), "Error occurred during processing."
|
|
|
|
| 28 |
|
| 29 |
# Clean up the audio file
|
| 30 |
os.remove(audio_file)
|
| 31 |
+
return transcribed_text, summary
|
| 32 |
|
| 33 |
except Exception as e:
|
| 34 |
return str(e), "Error occurred during processing."
|