Spaces:
Runtime error
Runtime error
Commit
·
4e33b53
1
Parent(s):
8c6eab4
Change default prompt
Browse files
app.py
CHANGED
@@ -124,7 +124,7 @@ def run(prompt, steps, width, height, images, scale):
|
|
124 |
image = gr.outputs.Image(type="pil", label="Your result")
|
125 |
css = ".output-image{height: 528px !important} .output-carousel .output-image{height:272px !important}"
|
126 |
iface = gr.Interface(fn=run, inputs=[
|
127 |
-
gr.inputs.Textbox(label="Prompt",default="
|
128 |
gr.inputs.Slider(label="Steps - more steps can increase quality but will take longer to generate",default=50,maximum=250,minimum=1,step=1),
|
129 |
gr.inputs.Radio(label="Width", choices=[32,64,128,256,384],default=256),
|
130 |
gr.inputs.Radio(label="Height", choices=[32,64,128,256,384],default=256),
|
|
|
124 |
image = gr.outputs.Image(type="pil", label="Your result")
|
125 |
css = ".output-image{height: 528px !important} .output-carousel .output-image{height:272px !important}"
|
126 |
iface = gr.Interface(fn=run, inputs=[
|
127 |
+
gr.inputs.Textbox(label="Prompt - try adding increments to your prompt such as 'oil on canvas', 'a painting', 'a book cover'",default="The drawing of a dog wearing a funny hat"),
|
128 |
gr.inputs.Slider(label="Steps - more steps can increase quality but will take longer to generate",default=50,maximum=250,minimum=1,step=1),
|
129 |
gr.inputs.Radio(label="Width", choices=[32,64,128,256,384],default=256),
|
130 |
gr.inputs.Radio(label="Height", choices=[32,64,128,256,384],default=256),
|