Spaces:
Running
Running
Dave Cavell
commited on
Commit
·
d6ed924
1
Parent(s):
dfd2a10
Correct typo
Browse files- transcript_processor.py +1 -1
transcript_processor.py
CHANGED
@@ -42,7 +42,7 @@ def get_youtube_transcript(video_id):
|
|
42 |
formatted_transcript = formatter.format_transcript(transcript).replace('\r', '').replace('\n', '')
|
43 |
|
44 |
# Truncate text to 800 characters to deal with limitations of the model
|
45 |
-
|
46 |
return formatted_transcript[:800]
|
47 |
except Exception as e:
|
48 |
return str(e)
|
|
|
42 |
formatted_transcript = formatter.format_transcript(transcript).replace('\r', '').replace('\n', '')
|
43 |
|
44 |
# Truncate text to 800 characters to deal with limitations of the model
|
45 |
+
print(formatted_transcript)
|
46 |
return formatted_transcript[:800]
|
47 |
except Exception as e:
|
48 |
return str(e)
|