Spaces:
Runtime error
Runtime error
iamviveksrk
commited on
Commit
β’
ee4baf9
1
Parent(s):
c8cc5e0
Update app.py
Browse filesquestion to query
app.py
CHANGED
@@ -75,9 +75,9 @@ def ask_question(query):
|
|
75 |
if query:
|
76 |
with st.spinner("π Performing semantic search on abstracts..."):
|
77 |
try:
|
78 |
-
msg = 'Asked ' +
|
79 |
logging.info(msg)
|
80 |
-
st.session_state.results = ask_question(
|
81 |
except Exception as e:
|
82 |
logging.exception(e)
|
83 |
|
|
|
75 |
if query:
|
76 |
with st.spinner("π Performing semantic search on abstracts..."):
|
77 |
try:
|
78 |
+
msg = 'Asked ' + query
|
79 |
logging.info(msg)
|
80 |
+
st.session_state.results = ask_question(query)
|
81 |
except Exception as e:
|
82 |
logging.exception(e)
|
83 |
|