darpanaswal commited on
Commit
e3a6f1b
·
verified ·
1 Parent(s): 6fed570

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def upload():
24
  # Process the image using your attendance model
25
  data = predict_and_show(file)
26
 
27
- return send_file(pd.DataFrame(data,column="Name").to_csv("attachment.csv",index = False), as_attachment=True)
28
 
29
 
30
  if __name__ == '__main__':
 
24
  # Process the image using your attendance model
25
  data = predict_and_show(file)
26
 
27
+ return send_file(pd.DataFrame(data,columns=["Name"]).to_csv("attachment.csv",index = False), as_attachment=True)
28
 
29
 
30
  if __name__ == '__main__':