You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues and checked the recent builds/commits
What would your feature do ?
Test for the existence of a Parseq URL and save the JSON of the URL as 20231015004152_parseq.json
Proposed workflow
There is nothing to show, just adding code to the deform extension.
Additional information
I currently do this with the following code at the end of run_deforum.py
import json
import urllib.request
try:
parseq_manifest_url = locals()['parseq_args'].parseq_manifest
if not parseq_manifest_url:
print("Skipping Parseq (not in use)")
else:
with urllib.request.urlopen(parseq_manifest_url) as response:
parseq_data = response.read()
parseq_json_str = json.dumps(json.loads(parseq_data.decode('utf8').replace("'", '"')), indent=4, sort_keys=True)
parseq_outfile = f"{args.outdir}/{root.timestring}_parseq.json"
with open(parseq_outfile, "w") as outfile:
outfile.write(parseq_json_str)
print(f"Saved Parseq json data to: {parseq_outfile}")
except Exception as e:
print("Oops! Something went wrong trying to save the Parseq file, but continuing anyway...")
print(f"An exception of type {type(e).__name__} occurred. Arguments: {e.args}")
Are you going to help adding it?
discord ID: 1064991849149898822
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
What would your feature do ?
Test for the existence of a Parseq URL and save the JSON of the URL as
20231015004152_parseq.json
Proposed workflow
There is nothing to show, just adding code to the deform extension.
Additional information
I currently do this with the following code at the end of
run_deforum.py
Are you going to help adding it?
discord ID: 1064991849149898822
The text was updated successfully, but these errors were encountered: