mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-08-31 20:03:38 +00:00
Fix debug message for file-upload in UI (#1018)
This commit is contained in:
parent
5b0b3e4616
commit
ca63f9fee2
@ -52,10 +52,10 @@ data_file = st.sidebar.file_uploader("", type=["pdf", "txt", "docx"])
|
||||
# Upload file
|
||||
if data_file:
|
||||
raw_json = upload_doc(data_file)
|
||||
st.write(raw_json)
|
||||
st.sidebar.write(raw_json)
|
||||
if debug:
|
||||
st.subheader("REST API JSON response")
|
||||
st.write(raw_json)
|
||||
st.sidebar.write(raw_json)
|
||||
|
||||
# load csv into pandas dataframe
|
||||
if eval_mode:
|
||||
|
Loading…
x
Reference in New Issue
Block a user