Spaces:
Running
Running
P01yH3dr0n
commited on
Commit
•
5aba480
1
Parent(s):
4c930e4
Update utils.py
Browse files
utils.py
CHANGED
@@ -86,7 +86,7 @@ def generate_novelai_image(
|
|
86 |
payload['parameters']['reference_image'] = image2base64(ref_image)
|
87 |
if use_inp:
|
88 |
payload['action'] = "infill"
|
89 |
-
payload['model'] = 'nai-diffusion-3-
|
90 |
payload['parameters']['mask'] = image2base64(inp_img['layers'][0])
|
91 |
payload['parameters']['image'] = image2base64(inp_img['background'])
|
92 |
# Send the POST request
|
|
|
86 |
payload['parameters']['reference_image'] = image2base64(ref_image)
|
87 |
if use_inp:
|
88 |
payload['action'] = "infill"
|
89 |
+
payload['model'] = 'nai-diffusion-3-inpainting'
|
90 |
payload['parameters']['mask'] = image2base64(inp_img['layers'][0])
|
91 |
payload['parameters']['image'] = image2base64(inp_img['background'])
|
92 |
# Send the POST request
|