Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ body {
|
|
61 |
}
|
62 |
#example_img .hide-container{
|
63 |
height:80px;
|
64 |
-
width:
|
65 |
transition: transform 0.5s ease;
|
66 |
}
|
67 |
#example_img{
|
@@ -76,11 +76,10 @@ footer {display: none !important;}
|
|
76 |
"""
|
77 |
|
78 |
with gr.Blocks(css=css) as demo:
|
79 |
-
|
80 |
-
height=240
|
81 |
with gr.Row():
|
82 |
with gr.Column(scale=2): # Adjust scale for proper sizing
|
83 |
-
image_input = gr.Image(type="numpy", label="Upload Image",
|
84 |
gr.Examples(examples=examples, inputs=image_input, examples_per_page=5, elem_id="example_img")
|
85 |
process_button = gr.Button("Nude!")
|
86 |
|
|
|
61 |
}
|
62 |
#example_img .hide-container{
|
63 |
height:80px;
|
64 |
+
width:50px;
|
65 |
transition: transform 0.5s ease;
|
66 |
}
|
67 |
#example_img{
|
|
|
76 |
"""
|
77 |
|
78 |
with gr.Blocks(css=css) as demo:
|
79 |
+
height=320
|
|
|
80 |
with gr.Row():
|
81 |
with gr.Column(scale=2): # Adjust scale for proper sizing
|
82 |
+
image_input = gr.Image(type="numpy", label="Upload Image", height=height)
|
83 |
gr.Examples(examples=examples, inputs=image_input, examples_per_page=5, elem_id="example_img")
|
84 |
process_button = gr.Button("Nude!")
|
85 |
|