XPMaster commited on
Commit
6c55b82
·
1 Parent(s): 303406a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -231,7 +231,7 @@ def greet(operation,filer):
231
  add_hyperlink(p, 'contact@mustafasa.com', "contact@mustafasa.com")
232
  savedoc(document,'retraining_report.docx')
233
  #document.save('retraining_report.docx')
234
- return 'retraining_report.docx',str(type(model).__name__+' has been chosen as the prediction model for achieving an accuracy of '+str(acc)+'%')
235
  allowedcols.remove('GRADE')
236
  for col in coset.columns:
237
  if col not in allowedcols:
 
231
  add_hyperlink(p, 'contact@mustafasa.com', "contact@mustafasa.com")
232
  savedoc(document,'retraining_report.docx')
233
  #document.save('retraining_report.docx')
234
+ return 'retraining_report.docx',str(type(model).__name__+' has been chosen as the prediction model for achieving an accuracy of '+str(round(acc*100,2))+'%')
235
  allowedcols.remove('GRADE')
236
  for col in coset.columns:
237
  if col not in allowedcols: