Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -60,13 +60,12 @@ with col1:
|
|
60 |
if uploaded_file is not None:
|
61 |
bytes_data = uploaded_file.getvalue()
|
62 |
st.write("filename:", uploaded_file.name)
|
63 |
-
st.write(bytes_data)
|
64 |
|
65 |
stringio = StringIO(uploaded_file.getvalue().decode("utf-8"))
|
66 |
-
# # st.write(stringio)
|
67 |
|
68 |
string_data = stringio.read()
|
69 |
-
|
70 |
input_sentences = string_data.split("\n")
|
71 |
|
72 |
if st.button("Submit",use_container_width=True):
|
|
|
60 |
if uploaded_file is not None:
|
61 |
bytes_data = uploaded_file.getvalue()
|
62 |
st.write("filename:", uploaded_file.name)
|
63 |
+
# st.write(bytes_data)
|
64 |
|
65 |
stringio = StringIO(uploaded_file.getvalue().decode("utf-8"))
|
|
|
66 |
|
67 |
string_data = stringio.read()
|
68 |
+
|
69 |
input_sentences = string_data.split("\n")
|
70 |
|
71 |
if st.button("Submit",use_container_width=True):
|