Neal Caren commited on
Commit
353fc7a
1 Parent(s): 4261b1f

didnt work

Browse files
Files changed (1) hide show
  1. app.py +2 -10
app.py CHANGED
@@ -154,16 +154,8 @@ def search(query, top_k=50):
154
  # refind the Thesis
155
  thesis = re.findall('\*\*(.*?)\*\*', graph)[0]
156
 
157
- tab1, tab2 = st.tabs(["Sentence", "Parapgraph"])
158
-
159
- with tab1:
160
- st.write(f'{thesis}')
161
-
162
- with tab2:
163
- st.write(f'* {graph}')
164
-
165
- '''with st.expander(thesis):
166
- st.write(f'* {graph}')'''
167
  st.write('')
168
  # print("\t{:.3f}\t{}".format(hit['cross-score'], passages[hit['corpus_id']].replace("\n", " ")))
169
 
 
154
  # refind the Thesis
155
  thesis = re.findall('\*\*(.*?)\*\*', graph)[0]
156
 
157
+ with st.expander(thesis):
158
+ st.write(f'* {graph}')
 
 
 
 
 
 
 
 
159
  st.write('')
160
  # print("\t{:.3f}\t{}".format(hit['cross-score'], passages[hit['corpus_id']].replace("\n", " ")))
161