Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,6 @@ with st.sidebar:
|
|
55 |
if uploaded_txt_file is not None:
|
56 |
# To read file as bytes:
|
57 |
txt_document = uploaded_txt_file.getvalue()
|
58 |
-
global document
|
59 |
document = txt_document
|
60 |
st.write(txt_document)
|
61 |
|
@@ -63,7 +62,6 @@ with st.sidebar:
|
|
63 |
if uploaded_csv_file is not None:
|
64 |
# To read file as bytes:
|
65 |
csv_document = uploaded_csv_file.getvalue()
|
66 |
-
global document
|
67 |
document = csv_document
|
68 |
st.write(csv_document)
|
69 |
|
|
|
55 |
if uploaded_txt_file is not None:
|
56 |
# To read file as bytes:
|
57 |
txt_document = uploaded_txt_file.getvalue()
|
|
|
58 |
document = txt_document
|
59 |
st.write(txt_document)
|
60 |
|
|
|
62 |
if uploaded_csv_file is not None:
|
63 |
# To read file as bytes:
|
64 |
csv_document = uploaded_csv_file.getvalue()
|
|
|
65 |
document = csv_document
|
66 |
st.write(csv_document)
|
67 |
|