Spaces:
Runtime error
Runtime error
taskswithcode
commited on
Commit
•
3f03f2a
1
Parent(s):
6aef44f
Fixes
Browse files
app.py
CHANGED
@@ -193,7 +193,7 @@ def app_main(app_mode,example_files,model_name_files):
|
|
193 |
curr_use_case = use_case[app_mode].split(".")[0]
|
194 |
st.markdown("<h5 style='text-align: center;'>Compare state-of-the-art/popular models for tasks using sentence embeddings</h5>", unsafe_allow_html=True)
|
195 |
st.markdown(f"<p style='font-size:14px; color: #4f4f4f; text-align: center'><i>Or compare your own model with state-of-the-art/popular models</p>", unsafe_allow_html=True)
|
196 |
-
st.markdown(f"<div style='color: #4f4f4f; text-align: left'>Use cases for sentence embeddings<br/> • {use_case['1']}<br/> • <a href=\'{use_case_url['2']}\' target='_blank'>{use_case['2']}</a><br/> •  
|
197 |
st.markdown(f"<div style='color: #9f9f9f; text-align: right'>views: {get_views('init')}</div>", unsafe_allow_html=True)
|
198 |
|
199 |
|
|
|
193 |
curr_use_case = use_case[app_mode].split(".")[0]
|
194 |
st.markdown("<h5 style='text-align: center;'>Compare state-of-the-art/popular models for tasks using sentence embeddings</h5>", unsafe_allow_html=True)
|
195 |
st.markdown(f"<p style='font-size:14px; color: #4f4f4f; text-align: center'><i>Or compare your own model with state-of-the-art/popular models</p>", unsafe_allow_html=True)
|
196 |
+
st.markdown(f"<div style='color: #4f4f4f; text-align: left'>Use cases for sentence embeddings<br/> • {use_case['1']}<br/> • <a href=\'{use_case_url['2']}\' target='_blank'>{use_case['2']}</a><br/> • <a href=\'{use_case_url['3']}\' target='_blank'>{use_case['3']}</a><br/><i>This app illustrates <b>'{curr_use_case}'</b> use case</i></div>", unsafe_allow_html=True)
|
197 |
st.markdown(f"<div style='color: #9f9f9f; text-align: right'>views: {get_views('init')}</div>", unsafe_allow_html=True)
|
198 |
|
199 |
|