ToluClassics commited on
Commit
cce51a6
β€’
1 Parent(s): 8616cce
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -60,7 +60,7 @@ st.sidebar.markdown(
60
  }
61
  </style>
62
  <p style='text-align: center'>
63
- <a href="" target="_blank">GitHub</a> | <a href="" target="_blank">Project Report</a>
64
  </p>
65
  <p class="aligncenter">
66
  <a href="" target="_blank">
@@ -96,7 +96,7 @@ text-align: center;
96
  }
97
  </style>
98
  <div class="footer">
99
- <p>Powered by <a style='display: block; text-align: center;' href="" >HuggingFace</a> and <a style='display: block; text-align: center;' href="" >Pyserini</a></p>
100
  </div>
101
  """
102
  st.sidebar.markdown(footer,unsafe_allow_html=True)
@@ -221,8 +221,8 @@ if st.sidebar.button("Search"):
221
  }
222
 
223
  .searchresult h2 {
224
- font-size: 19px;
225
- line-height: 18px;
226
  font-weight: normal;
227
  color: rgb(7, 111, 222);
228
  margin-bottom: 0px;
@@ -230,8 +230,8 @@ if st.sidebar.button("Search"):
230
  }
231
 
232
  .searchresult a {
233
- font-size: 14px;
234
- line-height: 14px;
235
  color: green;
236
  margin-bottom: 0px;
237
  }
@@ -257,5 +257,5 @@ if st.sidebar.button("Search"):
257
  }
258
  </script>
259
  <button onclick="myFunction()">Toggle dark mode</button>
260
- """ + rendered_results, height=1000, scrolling=True
261
  )
 
60
  }
61
  </style>
62
  <p style='text-align: center'>
63
+ <a href="" >GitHub</a> | <a href="" >Project Report</a>
64
  </p>
65
  <p class="aligncenter">
66
  <a href="" target="_blank">
 
96
  }
97
  </style>
98
  <div class="footer">
99
+ <p>Powered by <a href="https://huggingface.co/" >HuggingFace πŸ€—</a> and <a href="https://github.com/castorini/pyserini" >Pyserini πŸ¦†</a></p>
100
  </div>
101
  """
102
  st.sidebar.markdown(footer,unsafe_allow_html=True)
 
221
  }
222
 
223
  .searchresult h2 {
224
+ font-size: 15px;
225
+ line-height: 14px;
226
  font-weight: normal;
227
  color: rgb(7, 111, 222);
228
  margin-bottom: 0px;
 
230
  }
231
 
232
  .searchresult a {
233
+ font-size: 12px;
234
+ line-height: 12px;
235
  color: green;
236
  margin-bottom: 0px;
237
  }
 
257
  }
258
  </script>
259
  <button onclick="myFunction()">Toggle dark mode</button>
260
+ """ + rendered_results, height=800, scrolling=True
261
  )