Update app.py
Browse files
app.py
CHANGED
@@ -315,7 +315,7 @@ def upload():
|
|
315 |
# if len(full_string) != 0:
|
316 |
# qa = rag("\n\n".join(json.dumps(data_dict) for data_dict in full_string))
|
317 |
# else:
|
318 |
-
if not st.session_state['non_form_inference_performed']
|
319 |
qa = rag("\n\n".join(json.dumps(data_dict) for data_dict in st.session_state['non_form_inference_data']))
|
320 |
st.session_state['non_form_inference_performed'] = True
|
321 |
st.session_state.rag = qa
|
|
|
315 |
# if len(full_string) != 0:
|
316 |
# qa = rag("\n\n".join(json.dumps(data_dict) for data_dict in full_string))
|
317 |
# else:
|
318 |
+
if not st.session_state['non_form_inference_performed']:
|
319 |
qa = rag("\n\n".join(json.dumps(data_dict) for data_dict in st.session_state['non_form_inference_data']))
|
320 |
st.session_state['non_form_inference_performed'] = True
|
321 |
st.session_state.rag = qa
|