chainyo commited on
Commit
1b29f8c
1 Parent(s): c7ced1a

fix password

Browse files
Files changed (1) hide show
  1. main.py +3 -4
main.py CHANGED
@@ -42,13 +42,12 @@ def _get_embeddings(text: str):
42
  return last_hidden_states.mean(dim=1).squeeze().tolist()
43
 
44
 
45
- st.title("PubMed Embeddings")
46
- st.subheader("Search for a PubMed article and get its id.")
47
-
48
 
49
  password = st.text_input("Password", type="password")
50
  if password == config.password:
51
- st.write("Password correct!")
 
 
52
  text = st.text_input("Search for a PubMed article", "Epidemiology of COVID-19")
53
 
54
  with st.spinner("Loading Embedding Model..."):
 
42
  return last_hidden_states.mean(dim=1).squeeze().tolist()
43
 
44
 
 
 
 
45
 
46
  password = st.text_input("Password", type="password")
47
  if password == config.password:
48
+ st.title("PubMed Embeddings")
49
+ st.subheader("Search for a PubMed article and get its id.")
50
+
51
  text = st.text_input("Search for a PubMed article", "Epidemiology of COVID-19")
52
 
53
  with st.spinner("Loading Embedding Model..."):