Spaces:
Sleeping
Sleeping
fix bold text
Browse files
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
|
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>
|
39 |
time.sleep(1)
|
40 |
with st.spinner('Wait for it...'):
|
41 |
-
st.sidebar.write(f'**T5-small
|
42 |
with st.spinner('Wait for it...'):
|
43 |
-
st.sidebar.write(f'**Pegasus xsum
|
44 |
with st.spinner('Wait for it...'):
|
45 |
-
st.sidebar.write(f'**Bart-Large-Cnn
|
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 |
|