Farhan1572 commited on
Commit
333ec78
·
verified ·
1 Parent(s): ec3a48c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def predict_from_csv(file_path):
38
  print(df['Prediction'].value_counts())
39
 
40
  output_file = "predictions.csv"
41
- df.to_csv(output_file, index=False)
42
 
43
  return output_file
44
 
 
38
  print(df['Prediction'].value_counts())
39
 
40
  output_file = "predictions.csv"
41
+ df.to_csv(output_file, index=False, encoding='utf-8-sig')
42
 
43
  return output_file
44