Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,12 +29,12 @@ with gr.Blocks() as app:
|
|
29 |
with gr.Tab("Text-to-Image"):
|
30 |
# Prompt dan Neg Prompt
|
31 |
with gr.Row():
|
32 |
-
with gr.Column():
|
33 |
prompt_input = gr.Textbox(label="Prompt", placeholder="Masukkan prompt teks", lines=2, elem_id="prompt-input")
|
34 |
neg_prompt_input = gr.Textbox(label="Neg Prompt", placeholder="Masukkan negasi prompt", lines=2, elem_id="neg-prompt-input")
|
35 |
-
with gr.
|
36 |
generate_button = gr.Button("Generate", elem_id="generate-button", scale=0.2)
|
37 |
-
|
38 |
with gr.Row():
|
39 |
with gr.Column():
|
40 |
# Konfigurasi
|
|
|
29 |
with gr.Tab("Text-to-Image"):
|
30 |
# Prompt dan Neg Prompt
|
31 |
with gr.Row():
|
32 |
+
with gr.Column(scale=1): # Scale 1 ensures full width
|
33 |
prompt_input = gr.Textbox(label="Prompt", placeholder="Masukkan prompt teks", lines=2, elem_id="prompt-input")
|
34 |
neg_prompt_input = gr.Textbox(label="Neg Prompt", placeholder="Masukkan negasi prompt", lines=2, elem_id="neg-prompt-input")
|
35 |
+
with gr.Column(scale=0): # Zero scale to prevent column resize
|
36 |
generate_button = gr.Button("Generate", elem_id="generate-button", scale=0.2)
|
37 |
+
|
38 |
with gr.Row():
|
39 |
with gr.Column():
|
40 |
# Konfigurasi
|