Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,8 @@ suspicious_words = [
|
|
29 |
st.title("Crime Detection App")
|
30 |
|
31 |
# Load data
|
32 |
-
|
|
|
33 |
parsed_column = df['sentences'].to_list()
|
34 |
|
35 |
# Process sentences and store results
|
|
|
29 |
st.title("Crime Detection App")
|
30 |
|
31 |
# Load data
|
32 |
+
uploaded_file = st.file_uploader("Upload an Excel file", type=["xlsx", "xls"])
|
33 |
+
df = pd.read_excel(uploaded_file)
|
34 |
parsed_column = df['sentences'].to_list()
|
35 |
|
36 |
# Process sentences and store results
|