Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ st.write("Upload an Excel file (.xlsx) with a **`text`** column. This app will i
|
|
| 23 |
uploaded_file = st.file_uploader("Upload your Excel file", type=["xlsx"])
|
| 24 |
|
| 25 |
# Check if the required column 'text' exists
|
| 26 |
-
if uploaded_file
|
| 27 |
df = pd.read_excel(uploaded_file)
|
| 28 |
|
| 29 |
if 'text' not in df.columns:
|
|
|
|
| 23 |
uploaded_file = st.file_uploader("Upload your Excel file", type=["xlsx"])
|
| 24 |
|
| 25 |
# Check if the required column 'text' exists
|
| 26 |
+
if uploaded_file:
|
| 27 |
df = pd.read_excel(uploaded_file)
|
| 28 |
|
| 29 |
if 'text' not in df.columns:
|