Update app.py
Browse files
app.py
CHANGED
|
@@ -179,7 +179,7 @@ def video_transcription():
|
|
| 179 |
transcript = transcribe_video(video_url)
|
| 180 |
if transcript:
|
| 181 |
put_text(transcript)
|
| 182 |
-
put_file('transcript.txt', transcript.encode('utf-8'),
|
| 183 |
else:
|
| 184 |
put_text("Failed to transcribe video.")
|
| 185 |
|
|
|
|
| 179 |
transcript = transcribe_video(video_url)
|
| 180 |
if transcript:
|
| 181 |
put_text(transcript)
|
| 182 |
+
put_file('transcript.txt', content=transcript.encode('utf-8'), label="Download Transcript")
|
| 183 |
else:
|
| 184 |
put_text("Failed to transcribe video.")
|
| 185 |
|