atrytone commited on
Commit
ed34431
·
1 Parent(s): 9b95f10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def get_article():
41
 
42
 
43
  def send_result(l_output, r_output, prompt, pick):
44
- with csv.open('results.csv','a') as res_file:
45
  writer = csv.writer(res_file)
46
  row = [USER_ID,left,right,prompt,pick]
47
  writer.writerow(row)
 
41
 
42
 
43
  def send_result(l_output, r_output, prompt, pick):
44
+ with open('results.csv','a') as res_file:
45
  writer = csv.writer(res_file)
46
  row = [USER_ID,left,right,prompt,pick]
47
  writer.writerow(row)