Update app.py
Browse files
app.py
CHANGED
@@ -41,9 +41,10 @@ model_option = st.sidebar.selectbox("Choose the open embeddings model to use ?",
|
|
41 |
|
42 |
with st.container():
|
43 |
if query := st.text_input(
|
44 |
-
"
|
45 |
-
st.markdown(f"### :
|
46 |
-
|
|
|
47 |
components.iframe(f"https://hal.univ-cotedazur.fr/search/index/?q={query}&rows=30&docType_s=ART", height=800, scrolling=True)
|
48 |
with st.spinner('Calculating...'):
|
49 |
response = llm_response(query, model_option)
|
|
|
41 |
|
42 |
with st.container():
|
43 |
if query := st.text_input(
|
44 |
+
"Enter your question :"):
|
45 |
+
st.markdown(f"### :green[{model_option} results]")
|
46 |
+
models = ['all-MiniLM-L6-v2', 'all-mpnet-base-v2']
|
47 |
+
with st.expander(":globe_with_meridians: :blue[click here to see the HAL search engine results]"):
|
48 |
components.iframe(f"https://hal.univ-cotedazur.fr/search/index/?q={query}&rows=30&docType_s=ART", height=800, scrolling=True)
|
49 |
with st.spinner('Calculating...'):
|
50 |
response = llm_response(query, model_option)
|