Spaces:
Paused
Paused
Rahul Bhoyar
commited on
Commit
·
c2e5c18
1
Parent(s):
cba56a4
files updated
Browse files
app.py
CHANGED
@@ -54,7 +54,6 @@ else:
|
|
54 |
st.write("Please upload a file first.")
|
55 |
|
56 |
if query_engine_creation:
|
57 |
-
QUERY_ENGINE = query_engine
|
58 |
|
59 |
# Streamlit input for user query
|
60 |
if success:
|
@@ -63,6 +62,6 @@ if query_engine_creation:
|
|
63 |
# Query engine with user input
|
64 |
if user_query:
|
65 |
with st.spinner('Fetching the response...'):
|
66 |
-
response =
|
67 |
|
68 |
st.markdown(f"**Response:** {response}")
|
|
|
54 |
st.write("Please upload a file first.")
|
55 |
|
56 |
if query_engine_creation:
|
|
|
57 |
|
58 |
# Streamlit input for user query
|
59 |
if success:
|
|
|
62 |
# Query engine with user input
|
63 |
if user_query:
|
64 |
with st.spinner('Fetching the response...'):
|
65 |
+
response = query_engine.query(user_query)
|
66 |
|
67 |
st.markdown(f"**Response:** {response}")
|