Spaces:
Runtime error
Runtime error
taskswithcode
commited on
Commit
•
ee5b418
1
Parent(s):
e45aab0
Typo
Browse files
app.py
CHANGED
@@ -215,7 +215,7 @@ def app_main(app_mode,example_files,model_name_files):
|
|
215 |
selected_model = st.selectbox(label=selection_label,
|
216 |
options = options_arr, index=0, key = "twc_model")
|
217 |
st.write("")
|
218 |
-
custom_model_selection = st.text_input("Model not listed
|
219 |
hf_link_str = "<div style=\"font-size:12px; color: #9f9f9f; text-align: left\"><a href='https://huggingface.co/models?pipeline_tag=sentence-similarity' target = '_blank'>List of Huggingface sentence similarity models</a><br/><br/><br/></div>"
|
220 |
st.markdown(hf_link_str, unsafe_allow_html=True)
|
221 |
if (app_mode == SEM_SIMILARITY):
|
|
|
215 |
selected_model = st.selectbox(label=selection_label,
|
216 |
options = options_arr, index=0, key = "twc_model")
|
217 |
st.write("")
|
218 |
+
custom_model_selection = st.text_input("Model not listed above? Type any Huggingface sentence similarity model name ", "",key="custom_model")
|
219 |
hf_link_str = "<div style=\"font-size:12px; color: #9f9f9f; text-align: left\"><a href='https://huggingface.co/models?pipeline_tag=sentence-similarity' target = '_blank'>List of Huggingface sentence similarity models</a><br/><br/><br/></div>"
|
220 |
st.markdown(hf_link_str, unsafe_allow_html=True)
|
221 |
if (app_mode == SEM_SIMILARITY):
|