nsfwalex commited on
Commit
c6d399b
โ€ข
1 Parent(s): 996dc92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -61,7 +61,7 @@ body {
61
  }
62
  #example_img .hide-container{
63
  height:80px;
64
- width:100%;
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
- width=320
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", width=width, height=height)
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