myshirk commited on
Commit
fdc154a
·
1 Parent(s): b46a864

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -6
app.py CHANGED
@@ -121,15 +121,18 @@ def main():
121
  try:
122
  with st.spinner("Searching..."):
123
  results = show_model(query)
 
 
 
 
 
 
 
 
124
  except EOFError:
125
  pass
126
 
127
- #Output passages & scores
128
- for doc, score, title in results[:10]:
129
- st.write("Score: ", score)
130
- st.write("Title:", title)
131
- st.write("Abstract:", abstract)
132
- st.write("---")
133
 
134
 
135
  st.image("pres-futureplans.png")
 
121
  try:
122
  with st.spinner("Searching..."):
123
  results = show_model(query)
124
+
125
+ #Output passages & scores
126
+ for doc, score, title in results[:10]:
127
+ st.write("Score: ", score)
128
+ st.write("Title:", title)
129
+ st.write("Abstract:", abstract)
130
+ st.write("---")
131
+
132
  except EOFError:
133
  pass
134
 
135
+
 
 
 
 
 
136
 
137
 
138
  st.image("pres-futureplans.png")