apolinario commited on
Commit
4e33b53
1 Parent(s): 8c6eab4

Change default prompt

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="A drawing of a cute dog with 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),
 
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),