jayebaku commited on
Commit
5509e4c
·
verified ·
1 Parent(s): 775b987

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -53,9 +53,6 @@ def calculate_accuracy(flood_selections, fire_selections, none_selections, num_p
53
  incorrect = len(selections)
54
  correct = num_posts - incorrect
55
  accuracy = (correct/num_posts)*100
56
-
57
- file_path = "/tmp/results.csv"
58
- data_df.to_csv(file_path, index=False)
59
 
60
  return incorrect, correct, accuracy, data_df, gr.File.update(value="output.csv", visible=True)
61
 
 
53
  incorrect = len(selections)
54
  correct = num_posts - incorrect
55
  accuracy = (correct/num_posts)*100
 
 
 
56
 
57
  return incorrect, correct, accuracy, data_df, gr.File.update(value="output.csv", visible=True)
58