Spaces:
Build error
Build error
aningineer
commited on
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -82,14 +82,12 @@ with gr.Blocks() as demo:
|
|
82 |
steps = gr.Number(label="steps", value=20, precision=0)
|
83 |
seed = gr.Number(label="seed", value=1, precision=0)
|
84 |
|
|
|
85 |
with gr.Row():
|
86 |
base_image = gr.Image(label=f"baseline_image", type="pil", interactive=False)
|
87 |
output_image = gr.Image(label=f"output_image", type="pil", interactive=False)
|
88 |
-
|
89 |
-
result = gr.Textbox(label="Result")
|
90 |
|
91 |
gen = gr.Button("generate")
|
92 |
-
|
93 |
gen.click(generate, inputs=[prompt, seed, steps, height_width, negative_prompt,
|
94 |
guidance_scale, method], outputs=[base_image, output_image, result])
|
95 |
|
|
|
82 |
steps = gr.Number(label="steps", value=20, precision=0)
|
83 |
seed = gr.Number(label="seed", value=1, precision=0)
|
84 |
|
85 |
+
result = gr.Textbox(label="Result")
|
86 |
with gr.Row():
|
87 |
base_image = gr.Image(label=f"baseline_image", type="pil", interactive=False)
|
88 |
output_image = gr.Image(label=f"output_image", type="pil", interactive=False)
|
|
|
|
|
89 |
|
90 |
gen = gr.Button("generate")
|
|
|
91 |
gen.click(generate, inputs=[prompt, seed, steps, height_width, negative_prompt,
|
92 |
guidance_scale, method], outputs=[base_image, output_image, result])
|
93 |
|