Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -160,10 +160,10 @@ with gr.Blocks(css=css, theme=theme) as app:
|
|
| 160 |
gr.HTML("<h1><center>Stable Diffusion Lab</center></h1>")
|
| 161 |
with gr.Tab(label="Image To Prompt"):
|
| 162 |
with gr.Row():
|
| 163 |
-
with gr.Column(scale=4):
|
| 164 |
-
input_img = gr.Image(label="Input Picture",
|
| 165 |
|
| 166 |
-
with gr.Column(scale=3
|
| 167 |
output_text = gr.Textbox(label="Flux Prompt", lines=2, scale=6, show_copy_button = True)
|
| 168 |
submit_btn = gr.Button(value="Generate Pompt", scale=4, variant='primary')
|
| 169 |
clear_prompt =gr.Button("Clear 🗑️",variant="primary", elem_id="clear_button")
|
|
|
|
| 160 |
gr.HTML("<h1><center>Stable Diffusion Lab</center></h1>")
|
| 161 |
with gr.Tab(label="Image To Prompt"):
|
| 162 |
with gr.Row():
|
| 163 |
+
with gr.Column(scale=4, min_width=300):
|
| 164 |
+
input_img = gr.Image(label="Input Picture", type="filepath")
|
| 165 |
|
| 166 |
+
with gr.Column(scale=3):
|
| 167 |
output_text = gr.Textbox(label="Flux Prompt", lines=2, scale=6, show_copy_button = True)
|
| 168 |
submit_btn = gr.Button(value="Generate Pompt", scale=4, variant='primary')
|
| 169 |
clear_prompt =gr.Button("Clear 🗑️",variant="primary", elem_id="clear_button")
|