From 773ee38d2285b8df3727f8c62637bb61fc474a76 Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 5 Oct 2024 18:02:03 +0800 Subject: [PATCH] Initial release --- .streamlit/config.toml | 2 +- app.py | 3 --- requirements.txt | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.streamlit/config.toml b/.streamlit/config.toml index 5125201..e7a38ea 100644 --- a/.streamlit/config.toml +++ b/.streamlit/config.toml @@ -3,6 +3,6 @@ primaryColor="#F63366" backgroundColor="#FFFFFF" secondaryBackgroundColor="#F0F2F6" textColor="#262730" -font="Ubuntu" +font="sans serif" [server] maxUploadSize=1028 diff --git a/app.py b/app.py index ab467ae..028039c 100644 --- a/app.py +++ b/app.py @@ -14,7 +14,6 @@ from languages import LANGUAGES import torch from zipfile import ZipFile -from io import BytesIO import base64 import pathlib import re @@ -27,8 +26,6 @@ loaded_model = whisper.load_model("small", device=DEVICE) current_size = "None" - - # Define a function that we can use to load lottie files from a link. def load_lottieurl(url: str): r = requests.get(url) diff --git a/requirements.txt b/requirements.txt index 17f7a3f..fc40fde 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ ffmpeg==1.4 ffmpeg_python==0.2.0 numpy==1.23.3 -pytubefix==6.13.0 +pytubefix==7.2.2 requests==2.32.3 streamlit==1.37.1 streamlit_lottie==0.0.3