Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,12 +25,12 @@ def img2img(source_img, prompt, strength):
|
|
25 |
image = pipe(prompt=prompt, image=src, mask_image=mask, num_inference_steps=6, strength=strength, guidance_scale=0.0).images[0]
|
26 |
return image
|
27 |
|
28 |
-
title="
|
29 |
-
description="
|
30 |
gr.Interface(fn=img2img, inputs=[gr.Image(source="upload", tool="sketch", label="Source Image"),
|
31 |
gr.Textbox(label='What you want the AI to Generate, 77 Token limit'),
|
32 |
gr.Slider(minimum=.5, maximum=1, value=.75, step=.025, label='Strength')],
|
33 |
outputs='image',
|
34 |
title=title,
|
35 |
-
description=description
|
36 |
-
article = "Code Monkey: <a href=\"https://huggingface.co/Manjushri\">Manjushri</a>").launch(max_threads=True, debug=True)
|
|
|
25 |
image = pipe(prompt=prompt, image=src, mask_image=mask, num_inference_steps=6, strength=strength, guidance_scale=0.0).images[0]
|
26 |
return image
|
27 |
|
28 |
+
title="SDXLturbo CPU/GPU"
|
29 |
+
description="GoldExtra Preview OpenCV --> <b>I2I (Zeichnung > 2.5D)</b> --> "
|
30 |
gr.Interface(fn=img2img, inputs=[gr.Image(source="upload", tool="sketch", label="Source Image"),
|
31 |
gr.Textbox(label='What you want the AI to Generate, 77 Token limit'),
|
32 |
gr.Slider(minimum=.5, maximum=1, value=.75, step=.025, label='Strength')],
|
33 |
outputs='image',
|
34 |
title=title,
|
35 |
+
description=description
|
36 |
+
# article = "Code Monkey: <a href=\"https://huggingface.co/Manjushri\">Manjushri</a>").launch(max_threads=True, debug=True)
|