jfataphd commited on
Commit
c85c4ca
1 Parent(s): 70d1c6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -25,7 +25,6 @@ st.markdown(
25
  )
26
 
27
  st.header("Word2Vec App for Clotting Pubmed Database.")
28
- st.subheader("searching 40123 PubMed abstracts")
29
 
30
  text_input_value = st.text_input("Enter one term to search within the Clotting database")
31
  query = text_input_value
@@ -33,6 +32,11 @@ query = query.lower()
33
  # query = input ("Enter your keyword(s):")
34
 
35
  if query:
 
 
 
 
 
36
  model = Word2Vec.load("pubmed_model_clotting") # you can continue training with the loaded model!
37
  words = list(model.wv.key_to_index)
38
  X = model.wv[model.wv.key_to_index]
 
25
  )
26
 
27
  st.header("Word2Vec App for Clotting Pubmed Database.")
 
28
 
29
  text_input_value = st.text_input("Enter one term to search within the Clotting database")
30
  query = text_input_value
 
32
  # query = input ("Enter your keyword(s):")
33
 
34
  if query:
35
+ bar = st.progress(0)
36
+ for i in range(10):
37
+ bar.progresses((i+1)*10)
38
+ time.sleep(.1)
39
+ st.subheader("searching 40123 PubMed abstracts")
40
  model = Word2Vec.load("pubmed_model_clotting") # you can continue training with the loaded model!
41
  words = list(model.wv.key_to_index)
42
  X = model.wv[model.wv.key_to_index]