Spaces:
Paused
Paused
css updates
Browse files- app_gradio.py +11 -3
app_gradio.py
CHANGED
@@ -197,11 +197,19 @@ def generate_output_from_sketchpad(image, apply_filter, prompt: str, num_seeds:
|
|
197 |
results, results_to_download = generate_output(image, apply_filter, prompt, num_seeds, lambda_value)
|
198 |
return results, results_to_download
|
199 |
|
200 |
-
css="""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
|
202 |
|
203 |
with gr.Blocks(css=css) as demo:
|
204 |
-
with gr.Column():
|
205 |
gr.Markdown(
|
206 |
"""
|
207 |
|
@@ -296,7 +304,7 @@ with gr.Blocks(css=css) as demo:
|
|
296 |
type="filepath",
|
297 |
image_mode="RGB",
|
298 |
layers=False,
|
299 |
-
|
300 |
)
|
301 |
with gr.Column():
|
302 |
draw_motion_prompt = gr.Textbox(
|
|
|
197 |
results, results_to_download = generate_output(image, apply_filter, prompt, num_seeds, lambda_value)
|
198 |
return results, results_to_download
|
199 |
|
200 |
+
css="""
|
201 |
+
div#col-container{
|
202 |
+
max-width: 1200px;
|
203 |
+
margin: 0 auto
|
204 |
+
}
|
205 |
+
div#sketchpad-element{
|
206 |
+
height: auto!important;
|
207 |
+
}
|
208 |
+
"""
|
209 |
|
210 |
|
211 |
with gr.Blocks(css=css) as demo:
|
212 |
+
with gr.Column(elem_id="col-container"):
|
213 |
gr.Markdown(
|
214 |
"""
|
215 |
|
|
|
304 |
type="filepath",
|
305 |
image_mode="RGB",
|
306 |
layers=False,
|
307 |
+
elem_id="sketchpad-element"
|
308 |
)
|
309 |
with gr.Column():
|
310 |
draw_motion_prompt = gr.Textbox(
|