jclyo1 commited on
Commit
c28e281
1 Parent(s): 4af27c4

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', 'demo', '--assertions', '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, '--profile', 'assertion.json', '--output', (os.getcwd() + '/static/' + filename)])
56
 
57
  return {"response": filename}
58