Spaces:
Sleeping
Sleeping
suhasg
commited on
Commit
·
880f604
1
Parent(s):
725d75b
chnage the way json is downloaded
Browse files
app.py
CHANGED
@@ -301,7 +301,7 @@ def main():
|
|
301 |
st.json(json_rule)
|
302 |
st.download_button(
|
303 |
label="Download JSON Rule",
|
304 |
-
data=
|
305 |
file_name="json_rule.json",
|
306 |
mime="application/json"
|
307 |
)
|
|
|
301 |
st.json(json_rule)
|
302 |
st.download_button(
|
303 |
label="Download JSON Rule",
|
304 |
+
data=json_rule,
|
305 |
file_name="json_rule.json",
|
306 |
mime="application/json"
|
307 |
)
|