Update app.py
Browse files
app.py
CHANGED
@@ -65,9 +65,9 @@ def clear_fn():
|
|
65 |
with gr.Blocks(title="SD Models") as my_interface:
|
66 |
with gr.Column():
|
67 |
with gr.Row():
|
68 |
-
with gr.Column():
|
69 |
primary_prompt = gr.Textbox(label="Prompt", value="")
|
70 |
-
with gr.Column():
|
71 |
with gr.Row():
|
72 |
run = gr.Button("Run", variant="primary")
|
73 |
clear_btn = gr.Button("Clear")
|
@@ -76,7 +76,7 @@ with gr.Blocks(title="SD Models") as my_interface:
|
|
76 |
model_idx = 1
|
77 |
for model_path in models:
|
78 |
with gr.Column(scale=3, min_width=200):
|
79 |
-
with gr.Box()
|
80 |
sd_outputs[model_idx] = gr.Image(label=model_path)
|
81 |
pass
|
82 |
model_idx += 1
|
|
|
65 |
with gr.Blocks(title="SD Models") as my_interface:
|
66 |
with gr.Column():
|
67 |
with gr.Row():
|
68 |
+
with gr.Column(): # Use Column instead of Row with scale
|
69 |
primary_prompt = gr.Textbox(label="Prompt", value="")
|
70 |
+
with gr.Column(): # Use Column instead of Row with scale
|
71 |
with gr.Row():
|
72 |
run = gr.Button("Run", variant="primary")
|
73 |
clear_btn = gr.Button("Clear")
|
|
|
76 |
model_idx = 1
|
77 |
for model_path in models:
|
78 |
with gr.Column(scale=3, min_width=200):
|
79 |
+
with gr.Group(): # Changed from gr.Box() to gr.Group()
|
80 |
sd_outputs[model_idx] = gr.Image(label=model_path)
|
81 |
pass
|
82 |
model_idx += 1
|