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