allenchienxxx commited on
Commit
41d7e41
1 Parent(s): 90c5083

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -21,15 +21,6 @@ def main():
21
  st.error("Invalid file type. Please upload an EML or TXT file.")
22
 
23
 
24
- def upload_file():
25
- filepath = 'email files/' + file.filename
26
- return render_template('home.html',
27
- features = get_features(filepath),
28
- pre_content=predict_content(text_feature(filepath)),
29
- pre_tag=predict_html(html_tags_feature(filepath)),
30
-
31
-
32
-
33
  if __name__ == '__main__':
34
  main()
35
 
 
21
  st.error("Invalid file type. Please upload an EML or TXT file.")
22
 
23
 
 
 
 
 
 
 
 
 
 
24
  if __name__ == '__main__':
25
  main()
26