jfataphd commited on
Commit
3c93bf0
1 Parent(s): 7742137

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -12,11 +12,11 @@ st.markdown(
12
  """
13
  <style>
14
  body {
15
- background-color: #000000;
16
  # color: #ffffff;
17
  }
18
  .stApp {
19
- background-color: #000000;
20
  # color: #ffffff;
21
  }
22
  </style>
@@ -24,9 +24,9 @@ st.markdown(
24
  unsafe_allow_html=True
25
  )
26
 
27
- st.header(":white[Word2Vec App for Clotting Pubmed Database.]")
28
 
29
- text_input_value = st.text_input(":white[Enter some text]")
30
  query = text_input_value
31
  query = query.lower()
32
  # query = input ("Enter your keyword(s):")
@@ -51,7 +51,7 @@ if query:
51
  table.head(10).to_csv("clotting_sim1.csv", index=True)
52
  # short_table = table.head(50)
53
  # print(table)
54
- st.subheader(f":white[Similar Words to {query}]")
55
 
56
  # calculate the sizes of the squares in the treemap
57
  short_table = table.head(20)
@@ -86,7 +86,7 @@ if query:
86
  print()
87
  df1.head(50).to_csv("clotting_sim2.csv", index=True, header=False)
88
  # time.sleep(2)
89
- st.subheader(f":white[Similar Genes to {query}]")
90
 
91
  df1 = df1.head(20)
92
  df1.index = 1/df1.index
 
12
  """
13
  <style>
14
  body {
15
+ background-color: #EBF5FB;
16
  # color: #ffffff;
17
  }
18
  .stApp {
19
+ background-color: #EBF5FB;
20
  # color: #ffffff;
21
  }
22
  </style>
 
24
  unsafe_allow_html=True
25
  )
26
 
27
+ st.header("Word2Vec App for Clotting Pubmed Database.")
28
 
29
+ text_input_value = st.text_input("Enter some text")
30
  query = text_input_value
31
  query = query.lower()
32
  # query = input ("Enter your keyword(s):")
 
51
  table.head(10).to_csv("clotting_sim1.csv", index=True)
52
  # short_table = table.head(50)
53
  # print(table)
54
+ st.subheader(f"Similar Words to {query}")
55
 
56
  # calculate the sizes of the squares in the treemap
57
  short_table = table.head(20)
 
86
  print()
87
  df1.head(50).to_csv("clotting_sim2.csv", index=True, header=False)
88
  # time.sleep(2)
89
+ st.subheader(f"Similar Genes to {query}")
90
 
91
  df1 = df1.head(20)
92
  df1.index = 1/df1.index