ComputerK commited on
Commit
6d3708b
1 Parent(s): fb49ce5

Fix spelling mistakes and fix grammar issues

Browse files

There are numerous grammatical errors and issues with capitalization. This proposed update fixes those issues, and makes the page look nicer overall.

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=[