Spaces:
Sleeping
Sleeping
Update main.py
Browse files
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', '
|
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 |
|