jclyo1 commited on
Commit
261d577
1 Parent(s): 5f9ce6c

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -52,7 +52,7 @@ def generate_image(prompt, inference_steps, model):
52
  with open("assertion.json", "w") as outfile:
53
  outfile.write(json_object)
54
 
55
- subprocess.check_output(['./truepic-sign', 'sign', filename, '--profile', 'assertion.json', '--output', (os.getcwd() + '/static/' + filename)])
56
 
57
  return {"response": filename}
58
 
 
52
  with open("assertion.json", "w") as outfile:
53
  outfile.write(json_object)
54
 
55
+ subprocess.check_output(['./truepic-sign', 'sign', filename, '--assertions', 'assertion.json', '--output', (os.getcwd() + '/static/' + filename)])
56
 
57
  return {"response": filename}
58