Update app.py
Browse filesUpdated Description, adjusted iteration slider
app.py
CHANGED
@@ -15,8 +15,8 @@ def genie (prompt, scale, steps, seed):
|
|
15 |
return images
|
16 |
|
17 |
gr.Interface(fn=genie, inputs=[gr.Textbox(label='What you want the AI to generate. 77 Token Limit.'),
|
18 |
-
gr.Slider(1,
|
19 |
-
gr.Slider(1, maximum=
|
20 |
gr.Slider(minimum=1, step=1, maximum=999999999999999999, randomize=True)],
|
21 |
-
outputs='image', title="OpenJourney V2 CPU", description="OJ V2 CPU. <b>WARNING:</b> Extremely Slow.
|
22 |
article = "Code Monkey: <a href=\"https://huggingface.co/Manjushri\">Manjushri</a>").launch(debug=True, max_threads=True)
|
|
|
15 |
return images
|
16 |
|
17 |
gr.Interface(fn=genie, inputs=[gr.Textbox(label='What you want the AI to generate. 77 Token Limit.'),
|
18 |
+
gr.Slider(1, maximum=15, value=10, step=.25),
|
19 |
+
gr.Slider(1, maximum=50, value=25, step=1),
|
20 |
gr.Slider(minimum=1, step=1, maximum=999999999999999999, randomize=True)],
|
21 |
+
outputs='image', title="OpenJourney V2 CPU", description="OJ V2 CPU. <b>WARNING:</b> Extremely Slow. 35s/Iteration. Expect 8-16mins an image for 15-30 iterations respectively.",
|
22 |
article = "Code Monkey: <a href=\"https://huggingface.co/Manjushri\">Manjushri</a>").launch(debug=True, max_threads=True)
|