Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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:
|