Spaces:
Runtime error
Runtime error
Remove result label
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ with gr.Blocks() as demo:
|
|
74 |
|
75 |
run_button = gr.Button("Run", scale=0, variant="primary")
|
76 |
|
77 |
-
result = gr.Image(label="Result")
|
78 |
|
79 |
with gr.Accordion("Advanced Settings", open=False):
|
80 |
negative_prompt = gr.Text(
|
@@ -99,6 +99,7 @@ with gr.Blocks() as demo:
|
|
99 |
step=0.1,
|
100 |
value=0.0,
|
101 |
)
|
|
|
102 |
gr.on(
|
103 |
triggers=[run_button.click, prompt.submit],
|
104 |
fn=infer,
|
|
|
74 |
|
75 |
run_button = gr.Button("Run", scale=0, variant="primary")
|
76 |
|
77 |
+
result = gr.Image(label="Result", show_label=False)
|
78 |
|
79 |
with gr.Accordion("Advanced Settings", open=False):
|
80 |
negative_prompt = gr.Text(
|
|
|
99 |
step=0.1,
|
100 |
value=0.0,
|
101 |
)
|
102 |
+
|
103 |
gr.on(
|
104 |
triggers=[run_button.click, prompt.submit],
|
105 |
fn=infer,
|