Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def generate_image(image, product_name, target_name):
|
|
57 |
guidance_scale=16
|
58 |
num_samples = 1
|
59 |
|
60 |
-
prompt = 'a product photography photo of' + product_name + ' on ' + target_name
|
61 |
|
62 |
model = replicate.models.get("cjwbw/stable-diffusion-v2-inpainting")
|
63 |
version = model.versions.get("f9bb0632bfdceb83196e85521b9b55895f8ff3d1d3b487fd1973210c0eb30bec")
|
|
|
57 |
guidance_scale=16
|
58 |
num_samples = 1
|
59 |
|
60 |
+
prompt = 'a product photography photo of' + product_name + ' on ' + target_name
|
61 |
|
62 |
model = replicate.models.get("cjwbw/stable-diffusion-v2-inpainting")
|
63 |
version = model.versions.get("f9bb0632bfdceb83196e85521b9b55895f8ff3d1d3b487fd1973210c0eb30bec")
|