Spaces:
Runtime error
Runtime error
Yacine Jernite
commited on
Commit
•
330491d
1
Parent(s):
5f1f323
upload answers
Browse files- posts/conclusion.py +1 -1
posts/conclusion.py
CHANGED
@@ -75,7 +75,7 @@ def run_article():
|
|
75 |
res["comments_suggestions"] = st.text_area(
|
76 |
"Do you have any comments or suggestions?"
|
77 |
)
|
78 |
-
|
79 |
fname = datetime.now().strftime("submitted_%d_%m_%y_%H_%M_%S.json")
|
80 |
submitted_to = upload_file(
|
81 |
path_or_fileobj=BytesIO(bytearray(json.dumps(res, indent=2), "utf8")),
|
|
|
75 |
res["comments_suggestions"] = st.text_area(
|
76 |
"Do you have any comments or suggestions?"
|
77 |
)
|
78 |
+
if st.button("Submit my answers"):
|
79 |
fname = datetime.now().strftime("submitted_%d_%m_%y_%H_%M_%S.json")
|
80 |
submitted_to = upload_file(
|
81 |
path_or_fileobj=BytesIO(bytearray(json.dumps(res, indent=2), "utf8")),
|