Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitgr7 committed Feb 14, 2023
1 parent 7ba1b18 commit 72fa1f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _video_link_upload():
with st.spinner("Downloading..."):
video_path = _download_video(yt_link)

if "error" in video_path:
if isinstance(video_path, dict) and "error" in video_path:
st.error(video_path["error"])
return None

Expand Down Expand Up @@ -110,7 +110,7 @@ def _main():

file_type = None
if stage == 1:
st.header("Earwise")
st.header("Earwise (Only English)")
st.subheader("Search within Audio")
st.info("To restart the app, please refresh :)")
st.warning("Please don't overuse, it's running on free-tier :)")
Expand Down

0 comments on commit 72fa1f5

Please sign in to comment.