aannor commited on
Commit
721fe4c
·
verified ·
1 Parent(s): 62e50b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -194,9 +194,9 @@ with main_page:
194
  if (st.session_state.rerun_button == "QUERYING") and (st.session_state["video_link"] is not None):
195
  with st.spinner('Querying comments and running models'):
196
  yt_parser = st.session_state["YouTubeParser"]
197
- try:
198
- yt_parser.scrape_comments(st.session_state['video_link'])
199
- yt_parser.scrape_video_title()
200
  # except:
201
  # st.error("Error: Unable to query comments, incorrect YouTube URL.")
202
  # st.stop()
 
194
  if (st.session_state.rerun_button == "QUERYING") and (st.session_state["video_link"] is not None):
195
  with st.spinner('Querying comments and running models'):
196
  yt_parser = st.session_state["YouTubeParser"]
197
+ # try:
198
+ yt_parser.scrape_comments(st.session_state['video_link'])
199
+ yt_parser.scrape_video_title()
200
  # except:
201
  # st.error("Error: Unable to query comments, incorrect YouTube URL.")
202
  # st.stop()