CarolineM5 commited on
Commit
7898f2e
·
verified ·
1 Parent(s): d39f8c1

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -34,7 +34,9 @@ def load_image_pair(index):
34
 
35
  def form_callback(name, imgID, correct):
36
  with open(RESULTS_FILE, 'a+') as f: #Append & read mode
37
- f.write(f"{name},{imgID},{correct}\n")
 
 
38
 
39
 
40
  # -------------------------
 
34
 
35
  def form_callback(name, imgID, correct):
36
  with open(RESULTS_FILE, 'a+') as f: #Append & read mode
37
+ yes = f.write(f"{name},{imgID},{correct}\n")
38
+ st.success(yes)
39
+
40
 
41
 
42
  # -------------------------