muhtasham commited on
Commit
7e88973
1 Parent(s): f1bb426

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -62,8 +62,7 @@ with gr.Blocks() as demo:
62
  height = gr.inputs.Slider(label="Height", default=256, step=32, maximum = 256, minimum=32)
63
  images = gr.inputs.Slider(label="Images - How many images you wish to generate", default=1, step=1, minimum=1, maximum=4)
64
  diversity = gr.inputs.Slider(label="Diversity scale - How different from one another you wish the images to be",default=15.0, minimum=1.0, maximum=15.0)
65
- image = gr.outputs.Image(type="pil")
66
- img = [image,gr.outputs.Textbox(label="Error")]
67
  with gr.Row():
68
  get_image_latent = gr.Button("Generate Image go brr")
69
  with gr.Column():
 
62
  height = gr.inputs.Slider(label="Height", default=256, step=32, maximum = 256, minimum=32)
63
  images = gr.inputs.Slider(label="Images - How many images you wish to generate", default=1, step=1, minimum=1, maximum=4)
64
  diversity = gr.inputs.Slider(label="Diversity scale - How different from one another you wish the images to be",default=15.0, minimum=1.0, maximum=15.0)
65
+ img = [gr.outputs.Image(type="pil"),gr.outputs.Textbox(label="Error")]
 
66
  with gr.Row():
67
  get_image_latent = gr.Button("Generate Image go brr")
68
  with gr.Column():