awacke1 commited on
Commit
64b9b17
·
1 Parent(s): 6866c00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ if st.button('Generate Prompt and Solution'):
46
  prompt_text, prompt, solution = generate_prompt(option)
47
  results.append([prompt_text, prompt, solution])
48
 
49
- with open('results.txt', 'w') as f:
50
  for result in results:
51
  f.write(f"{result[0]}\t{result[1]}\t{result[2]}\n")
52
 
 
46
  prompt_text, prompt, solution = generate_prompt(option)
47
  results.append([prompt_text, prompt, solution])
48
 
49
+ with open('results.txt', 'a') as f:
50
  for result in results:
51
  f.write(f"{result[0]}\t{result[1]}\t{result[2]}\n")
52