Spaces:
Running
on
Zero
Running
on
Zero
BlockDetail
commited on
Commit
•
448fd77
1
Parent(s):
dc045f6
env
Browse files
app.py
CHANGED
@@ -37,8 +37,8 @@ with gr.Blocks() as demo:
|
|
37 |
canvas = gr.ImageEditor(min_width=512, brush = gr.Brush(colors=["#000000"], default_size = 2, color_mode="fixed"), width=512, height=512)
|
38 |
prompt_box = gr.Textbox(label="Prompt")
|
39 |
with gr.Row():
|
40 |
-
btn = gr.Button("Generate"
|
41 |
-
btn2 = gr.Button("Reset"
|
42 |
with gr.Column():
|
43 |
num_samples = gr.Slider(1, 5, value=2, step=1, label="Num Samples to Generate"),
|
44 |
with gr.Tab("Renoised Images"):
|
|
|
37 |
canvas = gr.ImageEditor(min_width=512, brush = gr.Brush(colors=["#000000"], default_size = 2, color_mode="fixed"), width=512, height=512)
|
38 |
prompt_box = gr.Textbox(label="Prompt")
|
39 |
with gr.Row():
|
40 |
+
btn = gr.Button("Generate")
|
41 |
+
btn2 = gr.Button("Reset")
|
42 |
with gr.Column():
|
43 |
num_samples = gr.Slider(1, 5, value=2, step=1, label="Num Samples to Generate"),
|
44 |
with gr.Tab("Renoised Images"):
|