DamarJati commited on
Commit
c8a7013
·
verified ·
1 Parent(s): eeebdaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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.Row():
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