Spaces:
Sleeping
Sleeping
Commit
·
5359504
1
Parent(s):
d904a6c
Upload app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ def make_clickable(row):
|
|
110 |
text = row['Company Name']
|
111 |
return f'<a target="_blank" href="{url}">{text}</a>'
|
112 |
|
113 |
-
def get_relevant_from_index(search_queries, type='article', stage = 'early', limit_funding =
|
114 |
data = []
|
115 |
if type == 'article':
|
116 |
for query in search_queries:
|
@@ -162,7 +162,7 @@ def render_search_result():
|
|
162 |
# for q in st.session_state.search_queries:
|
163 |
# st.write(q)
|
164 |
st.write("---")
|
165 |
-
st.subheader('Relevant Companies -
|
166 |
st.write(st.session_state.funding_rounds.to_html(escape = False, index=False, na_rep=''), unsafe_allow_html = True)
|
167 |
st.subheader('Relevant Companies - Later Stage')
|
168 |
st.write(st.session_state.funding_rounds_later_stage.to_html(escape = False, index=False, na_rep=''), unsafe_allow_html = True)
|
|
|
110 |
text = row['Company Name']
|
111 |
return f'<a target="_blank" href="{url}">{text}</a>'
|
112 |
|
113 |
+
def get_relevant_from_index(search_queries, type='article', stage = 'early', limit_funding = 10000000, k = 4):
|
114 |
data = []
|
115 |
if type == 'article':
|
116 |
for query in search_queries:
|
|
|
162 |
# for q in st.session_state.search_queries:
|
163 |
# st.write(q)
|
164 |
st.write("---")
|
165 |
+
st.subheader('Relevant Companies - Early Stage')
|
166 |
st.write(st.session_state.funding_rounds.to_html(escape = False, index=False, na_rep=''), unsafe_allow_html = True)
|
167 |
st.subheader('Relevant Companies - Later Stage')
|
168 |
st.write(st.session_state.funding_rounds_later_stage.to_html(escape = False, index=False, na_rep=''), unsafe_allow_html = True)
|