Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -927,9 +927,9 @@ if query:
|
|
927 |
|
928 |
|
929 |
def save_comment(comment):
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
|
934 |
|
935 |
st.title("Abstractalytics Web App")
|
|
|
927 |
|
928 |
|
929 |
def save_comment(comment):
|
930 |
+
with open('comments.txt', 'a') as f:
|
931 |
+
f.write(f'{comment}\n')
|
932 |
+
print('Comment saved to file.')
|
933 |
|
934 |
|
935 |
st.title("Abstractalytics Web App")
|