Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,4 +27,12 @@ def genie (prompt, negative_prompt, scale, steps, seed):
|
|
27 |
image = refiner(prompt=prompt, negative_prompt=negative_prompt, image=int_image).images[0]
|
28 |
return image
|
29 |
|
30 |
-
gr.Interface(fn=genie, inputs=[gr.Textbox(label='What you want the AI to generate. 77 Token Limit.'),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
image = refiner(prompt=prompt, negative_prompt=negative_prompt, image=int_image).images[0]
|
28 |
return image
|
29 |
|
30 |
+
gr.Interface(fn=genie, inputs=[gr.Textbox(label='What you want the AI to generate. 77 Token Limit.'),
|
31 |
+
gr.Textbox(label='What you Do Not want the AI to generate.'),
|
32 |
+
gr.Slider(1, 15, 10, label='Guidance Scale'),
|
33 |
+
gr.Slider(25, maximum=50, value=25, step=1, label='Number of Iterations'),
|
34 |
+
gr.Slider(minimum=1, step=1, maximum=999999999999999999, randomize=True)],
|
35 |
+
outputs='image',
|
36 |
+
title="Stable Diffusion XL 1.0 CPU",
|
37 |
+
description="SDXL 1.0 CPU. <br><br><b>WARNING:</b> Extremely Slow. 65s/Iteration. Expect 25-50mins an image for 25-50 iterations respectively.",
|
38 |
+
article = "Code Monkey: <a href=\"https://huggingface.co/Manjushri\">Manjushri</a>").launch(debug=True, max_threads=80)
|