Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,6 +51,9 @@ css="""
|
|
| 51 |
margin: 0 auto;
|
| 52 |
max-width: 640px;
|
| 53 |
}
|
|
|
|
|
|
|
|
|
|
| 54 |
"""
|
| 55 |
|
| 56 |
with gr.Blocks(css=css) as demo:
|
|
@@ -87,7 +90,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 87 |
step=0.1,
|
| 88 |
value=5.0, #Replace with defaults that work for your model
|
| 89 |
)
|
| 90 |
-
run_button = gr.Button("Run", scale=0)
|
| 91 |
|
| 92 |
result = gr.Image(label="Result", show_label=False)
|
| 93 |
|
|
|
|
| 51 |
margin: 0 auto;
|
| 52 |
max-width: 640px;
|
| 53 |
}
|
| 54 |
+
#button{
|
| 55 |
+
align-self: stretch;
|
| 56 |
+
}
|
| 57 |
"""
|
| 58 |
|
| 59 |
with gr.Blocks(css=css) as demo:
|
|
|
|
| 90 |
step=0.1,
|
| 91 |
value=5.0, #Replace with defaults that work for your model
|
| 92 |
)
|
| 93 |
+
run_button = gr.Button("Run", scale=0, elem_id="button")
|
| 94 |
|
| 95 |
result = gr.Image(label="Result", show_label=False)
|
| 96 |
|