Skip to content

Commit

Permalink
fix: remove unused packages, video_option unbound
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiogra committed Jul 11, 2023
1 parent 3ecd555 commit 7d22cea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
2 changes: 2 additions & 0 deletions app/service/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ def search_youtube(query: str) -> List:
st.session_state.search_results = search.results
if "search_results" in st.session_state and st.session_state.search_results is not None:
video_options = [video.title for video in st.session_state.search_results]
else:
video_options = []
else:
video_options = []
st.session_state.video_options = video_options
Expand Down
4 changes: 1 addition & 3 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
streamlit==1.22.*
demucs==4.0.0
plotly==5.13.0
pandas==1.5.3
pydub==0.25.1
pytube==12.1.3
streamlit-player==0.1.5
streamlit-searchbox==0.1.2
yt-dlp==2023.3.4
kaleido==0.2.1
yt-dlp==2023.7.6
matplotlib==3.7.1
librosa==0.10.0.post2
resampy==0.4.2
Expand Down
10 changes: 2 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ jsonschema-specifications==2023.6.1
# via jsonschema
julius==0.2.7
# via demucs
kaleido==0.2.1
# via -r requirements.in
kiwisolver==1.4.4
# via matplotlib
lameenc==1.5.1
Expand Down Expand Up @@ -154,8 +152,6 @@ pillow==10.0.0
# via
# matplotlib
# streamlit
plotly==5.13.0
# via -r requirements.in
pooch==1.6.0
# via librosa
protobuf==3.20.3
Expand Down Expand Up @@ -243,9 +239,7 @@ submitit==1.4.5
sympy==1.12
# via torch
tenacity==8.2.2
# via
# plotly
# streamlit
# via streamlit
threadpoolctl==3.1.0
# via scikit-learn
toml==0.10.2
Expand Down Expand Up @@ -287,7 +281,7 @@ validators==0.20.0
# via streamlit
websockets==11.0.3
# via yt-dlp
yt-dlp==2023.3.4
yt-dlp==2023.7.6
# via -r requirements.in
zipp==3.16.0
# via importlib-metadata

0 comments on commit 7d22cea

Please sign in to comment.