Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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', '
|
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 |
|