the-confused-coder commited on
Commit
ff4ec07
·
verified ·
1 Parent(s): 26c2e0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -84,7 +84,7 @@ if submit_button:
84
  yt_obj = YouTube(video_url)
85
  # display video thumbnail
86
  with col1:
87
- thumbnail_placeholder.image(yt_obj.thumbnail_url, caption="Video Thumbnail", width=300, height=485)
88
  # get transcription
89
  get_yt_trans(yt_obj)
90
  st.sidebar.subheader("Transcription:")
@@ -114,7 +114,7 @@ Question: {question}'''
114
  if video_query_button:
115
  # display video thumbnail
116
  with col1:
117
- thumbnail_placeholder.image(yt_obj.thumbnail_url, caption="Video Thumbnail", width=300, height=485)
118
 
119
  if st.session_state.chain is None:
120
  st.error("Please transcribe a video first by submitting a URL.")
 
84
  yt_obj = YouTube(video_url)
85
  # display video thumbnail
86
  with col1:
87
+ thumbnail_placeholder.image(yt_obj.thumbnail_url, caption="Video Thumbnail")
88
  # get transcription
89
  get_yt_trans(yt_obj)
90
  st.sidebar.subheader("Transcription:")
 
114
  if video_query_button:
115
  # display video thumbnail
116
  with col1:
117
+ thumbnail_placeholder.image(yt_obj.thumbnail_url, caption="Video Thumbnail")
118
 
119
  if st.session_state.chain is None:
120
  st.error("Please transcribe a video first by submitting a URL.")