Spaces:
Runtime error
Runtime error
added sample file
Browse files- .ipynb_checkpoints/app-checkpoint.py +2 -2
- app.py +2 -2
.ipynb_checkpoints/app-checkpoint.py
CHANGED
@@ -18,8 +18,6 @@ st.write("\n")
|
|
18 |
st.subheader('Or... Upload a csv file if you have a file instead.')
|
19 |
st.write("\n")
|
20 |
|
21 |
-
uploaded_file = st.file_uploader("Please upload a csv file with only 1 column of texts.")
|
22 |
-
|
23 |
st.download_button(
|
24 |
label="Download sample file here",
|
25 |
data=sample_file,
|
@@ -27,6 +25,8 @@ st.download_button(
|
|
27 |
mime='text/csv',
|
28 |
)
|
29 |
|
|
|
|
|
30 |
if uploaded_file is not None:
|
31 |
|
32 |
with st.spinner('Generating predictions...'):
|
|
|
18 |
st.subheader('Or... Upload a csv file if you have a file instead.')
|
19 |
st.write("\n")
|
20 |
|
|
|
|
|
21 |
st.download_button(
|
22 |
label="Download sample file here",
|
23 |
data=sample_file,
|
|
|
25 |
mime='text/csv',
|
26 |
)
|
27 |
|
28 |
+
uploaded_file = st.file_uploader("Please upload a csv file with only 1 column of texts.")
|
29 |
+
|
30 |
if uploaded_file is not None:
|
31 |
|
32 |
with st.spinner('Generating predictions...'):
|
app.py
CHANGED
@@ -18,8 +18,6 @@ st.write("\n")
|
|
18 |
st.subheader('Or... Upload a csv file if you have a file instead.')
|
19 |
st.write("\n")
|
20 |
|
21 |
-
uploaded_file = st.file_uploader("Please upload a csv file with only 1 column of texts.")
|
22 |
-
|
23 |
st.download_button(
|
24 |
label="Download sample file here",
|
25 |
data=sample_file,
|
@@ -27,6 +25,8 @@ st.download_button(
|
|
27 |
mime='text/csv',
|
28 |
)
|
29 |
|
|
|
|
|
30 |
if uploaded_file is not None:
|
31 |
|
32 |
with st.spinner('Generating predictions...'):
|
|
|
18 |
st.subheader('Or... Upload a csv file if you have a file instead.')
|
19 |
st.write("\n")
|
20 |
|
|
|
|
|
21 |
st.download_button(
|
22 |
label="Download sample file here",
|
23 |
data=sample_file,
|
|
|
25 |
mime='text/csv',
|
26 |
)
|
27 |
|
28 |
+
uploaded_file = st.file_uploader("Please upload a csv file with only 1 column of texts.")
|
29 |
+
|
30 |
if uploaded_file is not None:
|
31 |
|
32 |
with st.spinner('Generating predictions...'):
|