tushifire commited on
Commit
fda1ad8
·
1 Parent(s): cdd7bd2

Adjust display

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -41,6 +41,7 @@ def find_video_id(youtube_video_id):
41
  return video_filter
42
  return youtube_video_id
43
 
 
44
 
45
  with st.form("my_form"):
46
  st.write('Enter Youtube API key( Will not be stored )')
@@ -56,6 +57,6 @@ if submitted:
56
  youtube_video_id = find_video_id(youtube_video_id)
57
  df = extract_comments_from_video(youtube_video_id,youtube_api_key)
58
  if len(df) > 0:
59
- st.dataframe(df,height=101)
60
  else:
61
  st.info('This video comments are not found', icon="ℹ️")
 
41
  return video_filter
42
  return youtube_video_id
43
 
44
+ st.header('Youtube Comments Extractor')
45
 
46
  with st.form("my_form"):
47
  st.write('Enter Youtube API key( Will not be stored )')
 
57
  youtube_video_id = find_video_id(youtube_video_id)
58
  df = extract_comments_from_video(youtube_video_id,youtube_api_key)
59
  if len(df) > 0:
60
+ st.dataframe(df,width= 50, height=101)
61
  else:
62
  st.info('This video comments are not found', icon="ℹ️")