Spaces:
Running
on
Zero
Running
on
Zero
mrbeliever
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ css = """
|
|
98 |
margin-top: 15px;
|
99 |
border: 2px solid #333; /* Darker outline */
|
100 |
border-radius: 8px;
|
101 |
-
height:
|
102 |
overflow-y: auto; /* Scrollable if content exceeds height */
|
103 |
}
|
104 |
#run_button {
|
@@ -119,7 +119,7 @@ css = """
|
|
119 |
with gr.Blocks(css=css) as demo:
|
120 |
with gr.Column(elem_id="container"):
|
121 |
input_image = gr.Image(type="pil", elem_id="input_image")
|
122 |
-
run_button = gr.Button(value="Generate
|
123 |
output_caption = gr.Textbox(label="Womener AI", show_copy_button=True, elem_id="output_caption", lines=6)
|
124 |
|
125 |
run_button.click(
|
|
|
98 |
margin-top: 15px;
|
99 |
border: 2px solid #333; /* Darker outline */
|
100 |
border-radius: 8px;
|
101 |
+
height: 180px; /* Fixed height */
|
102 |
overflow-y: auto; /* Scrollable if content exceeds height */
|
103 |
}
|
104 |
#run_button {
|
|
|
119 |
with gr.Blocks(css=css) as demo:
|
120 |
with gr.Column(elem_id="container"):
|
121 |
input_image = gr.Image(type="pil", elem_id="input_image")
|
122 |
+
run_button = gr.Button(value="Generate Prompt", elem_id="run_button")
|
123 |
output_caption = gr.Textbox(label="Womener AI", show_copy_button=True, elem_id="output_caption", lines=6)
|
124 |
|
125 |
run_button.click(
|