From 901ad75e0b8e4daf7299551c39eb68e5c665e052 Mon Sep 17 00:00:00 2001 From: Jason Date: Sun, 16 Jun 2024 16:44:47 -0400 Subject: [PATCH] Fixed installation error by specifying non 2.0 numpy + incorrect dunder all --- requirements.txt | 5 +++-- video_creation/screenshot_downloader.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 80208a5..cd571f5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,9 +15,10 @@ tomlkit==0.11.8 Flask==2.3.3 clean-text==0.6.0 unidecode==1.3.8 -spacy==3.5.3 +spacy==3.7.5 torch==2.3.0 transformers==4.40.2 ffmpeg-python==0.2.0 elevenlabs==0.2.17 -yt-dlp==2023.7.6 \ No newline at end of file +yt-dlp==2023.7.6 +numpy==1.26.4 diff --git a/video_creation/screenshot_downloader.py b/video_creation/screenshot_downloader.py index f7c66ee..507fb51 100644 --- a/video_creation/screenshot_downloader.py +++ b/video_creation/screenshot_downloader.py @@ -13,7 +13,7 @@ from utils.imagenarator import imagemaker from utils.playwright import clear_cookie_by_name from utils.videos import save_data -__all__ = ["download_screenshots_of_reddit_posts"] +__all__ = ["get_screenshots_of_reddit_posts"] def get_screenshots_of_reddit_posts(reddit_object: dict, screenshot_num: int):