Fix spelling mistakes and fix grammar issues

#76
by ComputerK - opened
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -68,12 +68,12 @@ with block:
68
  with gr.Column():
69
  input_image = gr.Image(source='upload', type="pil")
70
  depth_image = gr.Image(
71
- source='upload', type="pil", label="Depth image Optional", value=None)
72
  prompt = gr.Textbox(label="Prompt")
73
- negative_prompt = gr.Textbox(label="Negative Pompt")
74
 
75
  run_button = gr.Button(label="Run")
76
- with gr.Accordion("Advanced options", open=False):
77
  num_samples = gr.Slider(
78
  label="Images", minimum=1, maximum=4, value=1, step=1)
79
  steps = gr.Slider(label="Steps", minimum=1,
@@ -92,7 +92,7 @@ with block:
92
  randomize=True,
93
  )
94
  with gr.Column():
95
- gallery = gr.Gallery(label="Generated images", show_label=False).style(
96
  grid=[2], height="auto")
97
  gr.Examples(
98
  examples=[
 
68
  with gr.Column():
69
  input_image = gr.Image(source='upload', type="pil")
70
  depth_image = gr.Image(
71
+ source='upload', type="pil", label="Depth Image Optional", value=None)
72
  prompt = gr.Textbox(label="Prompt")
73
+ negative_prompt = gr.Textbox(label="Negative Prompt")
74
 
75
  run_button = gr.Button(label="Run")
76
+ with gr.Accordion("Advanced Options", open=False):
77
  num_samples = gr.Slider(
78
  label="Images", minimum=1, maximum=4, value=1, step=1)
79
  steps = gr.Slider(label="Steps", minimum=1,
 
92
  randomize=True,
93
  )
94
  with gr.Column():
95
+ gallery = gr.Gallery(label="Generated Images", show_label=False).style(
96
  grid=[2], height="auto")
97
  gr.Examples(
98
  examples=[