update to the process_uploads upload.py and new database table called data

This commit is contained in:
SumGuyV5 committed 2026-09-16 01:11:38 +00:00
1 parent afe6490d20
commit 2773200a94
17 files changed
+245 -70

No files matched your search

+3 -3
View File
@@ -35,7 +35,7 @@ def transcribe(slug: str):
print(f"video already transcribed:")
return True
import transcribe_video
import package.transcribe_video as transcribe_video
transcribe_video.extract_audio(video_file, f"save/clips/{slug}/temp_{slug}_audio.wav")
transcribe_video.transcribe_to_srt(f"save/clips/{slug}/temp_{slug}_audio.wav", f"save/clips/{slug}/", f"transcribe_{slug}")
@@ -49,9 +49,9 @@ def top_hashtags(slug: str):
print(f"Transcribe file not found {file_srt}")
return []
import package.youtube.hashtags as hashtags
import package.hash_tags as hash_tags
return hashtags.get_top_hashtags(file_srt)
return hash_tags.get_top_hashtags(file_srt)
def download_clips():