Spaces:
Runtime error
Runtime error
allenchienxxx
commited on
Commit
·
0a2c406
1
Parent(s):
5ac95ce
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,7 @@ def main():
|
|
12 |
if is_valid_filetype(uploaded_file):
|
13 |
st.success("File uploaded successfully!")
|
14 |
# Process the file here
|
|
|
15 |
else:
|
16 |
st.error("Invalid file type. Please upload an EML or TXT file.")
|
17 |
|
|
|
12 |
if is_valid_filetype(uploaded_file):
|
13 |
st.success("File uploaded successfully!")
|
14 |
# Process the file here
|
15 |
+
save_file(upload_file)
|
16 |
else:
|
17 |
st.error("Invalid file type. Please upload an EML or TXT file.")
|
18 |
|