Spaces:
Runtime error
Runtime error
Fix spelling mistakes and fix grammar issues (#76)
Browse files- Fix spelling mistakes and fix grammar issues (6d3708bab799de34b26fcbe78739eedce7959088)
Co-authored-by: Archer Hosford <ComputerK@users.noreply.huggingface.co>
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
|
72 |
prompt = gr.Textbox(label="Prompt")
|
73 |
-
negative_prompt = gr.Textbox(label="Negative
|
74 |
|
75 |
run_button = gr.Button(label="Run")
|
76 |
-
with gr.Accordion("Advanced
|
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
|
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=[
|