Spaces:
Sleeping
Sleeping
Update app.py
Browse filesUpdated Descriptions
app.py
CHANGED
@@ -24,12 +24,12 @@ def infer(source_img, instructions, guide, steps, seed, Strength):
|
|
24 |
return image
|
25 |
|
26 |
gr.Interface(fn=infer, inputs=[gr.Image(source="upload", type="filepath", label="Raw Image. Must Be .png"),
|
27 |
-
gr.Textbox(label = '
|
28 |
-
gr.Slider(2, 15, value = 7.5, label = '
|
29 |
-
gr.Slider(1, 20, value = 5, step = 1, label =
|
30 |
gr.Slider(label = "Seed", minimum = 0, maximum = 987654321987654321, step = 1, randomize = True),
|
31 |
-
gr.Slider(label='Strength', minimum = 1, maximum = 2, step = .25, value = 1.5)],
|
32 |
outputs = 'image',
|
33 |
title = "Instructions Picture to Picture",
|
34 |
-
description = "Simply upload an image you want to edit, MUST Be .PNG and 512x512 or 768x768, then enter a Prompt telling the AI how to change the image, then click submit. This version runs on GPU or CPU and is currently running on the free CPU tier. 10 Iterations takes ~
|
35 |
article = "Code Monkey: <a href=\"https://huggingface.co/Manjushri\">Manjushri</a>").queue(max_size=5).launch(debug=True)
|
|
|
24 |
return image
|
25 |
|
26 |
gr.Interface(fn=infer, inputs=[gr.Image(source="upload", type="filepath", label="Raw Image. Must Be .png"),
|
27 |
+
gr.Textbox(label = 'Input Instructions. 77 Token (Keyword or Symbol) Maximum'),
|
28 |
+
gr.Slider(2, 15, value = 7.5, label = 'Instructions Strength:'),
|
29 |
+
gr.Slider(1, 20, value = 5, step = 1, label = "Number of Iterations: More take longer, but aren't always better"),
|
30 |
gr.Slider(label = "Seed", minimum = 0, maximum = 987654321987654321, step = 1, randomize = True),
|
31 |
+
gr.Slider(label='Original Image Strength:', minimum = 1, maximum = 2, step = .25, value = 1.5)],
|
32 |
outputs = 'image',
|
33 |
title = "Instructions Picture to Picture",
|
34 |
+
description = "Simply upload an image you want to edit, MUST Be .PNG and 512x512 or 768x768, then enter a Prompt telling the AI how to change the image, then click submit. This version runs on GPU or CPU and is currently running on the free CPU tier. 10 Iterations takes ~480 seconds currently. This version has no NSFW filter.",
|
35 |
article = "Code Monkey: <a href=\"https://huggingface.co/Manjushri\">Manjushri</a>").queue(max_size=5).launch(debug=True)
|