wgcv commited on
Commit
4d0ce5a
Β·
1 Parent(s): 08266a1

fix bold text

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -9,7 +9,7 @@ from loadhtml import get_content
9
  ## Site
10
  st.title("Tab Recall Simplified πŸš€")
11
 
12
- st.markdown("Condense your Browser Tabs into a few impactful words. - Inspired in Arc Max Browser")
13
 
14
  # load model
15
 
@@ -35,14 +35,14 @@ def load_tab():
35
  print("error")
36
  else:
37
  with st.spinner('Wait for it...'):
38
- st.sidebar.write(f'**<title>: ** {title}')
39
  time.sleep(1)
40
  with st.spinner('Wait for it...'):
41
- st.sidebar.write(f'**T5-small: ** {predict_model_t5(text)}')
42
  with st.spinner('Wait for it...'):
43
- st.sidebar.write(f'**Pegasus xsum: ** {predict_model_pegasus(text)}')
44
  with st.spinner('Wait for it...'):
45
- st.sidebar.write(f'**Bart-Large-Cnn: ** {predict_model_bart(text)}')
46
  else:
47
  error_message = st.sidebar.error(f'Is not a valid URL. Please enter a valid URL.')
48
 
 
9
  ## Site
10
  st.title("Tab Recall Simplified πŸš€")
11
 
12
+ st.markdown("Condense your Browser Tabs into a few impactful words. - Inspired in Arc Max")
13
 
14
  # load model
15
 
 
35
  print("error")
36
  else:
37
  with st.spinner('Wait for it...'):
38
+ st.sidebar.write(f'**<title>:** {title}')
39
  time.sleep(1)
40
  with st.spinner('Wait for it...'):
41
+ st.sidebar.write(f'**T5-small:** {predict_model_t5(text)}')
42
  with st.spinner('Wait for it...'):
43
+ st.sidebar.write(f'**Pegasus xsum:** {predict_model_pegasus(text)}')
44
  with st.spinner('Wait for it...'):
45
+ st.sidebar.write(f'**Bart-Large-Cnn:** {predict_model_bart(text)}')
46
  else:
47
  error_message = st.sidebar.error(f'Is not a valid URL. Please enter a valid URL.')
48