From ca63f9fee2109eecea92abdfec908c40a26d2df6 Mon Sep 17 00:00:00 2001 From: Bhadresh Savani Date: Mon, 3 May 2021 12:48:55 +0530 Subject: [PATCH] Fix debug message for file-upload in UI (#1018) --- ui/webapp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/webapp.py b/ui/webapp.py index 4408dc274..44c8c03f5 100644 --- a/ui/webapp.py +++ b/ui/webapp.py @@ -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: