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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,8 +32,8 @@ with gr.Blocks() as app:
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():
 
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
+
36
+ generate_button = gr.Button("Generate", elem_id="generate-button", scale=0.13)
37
 
38
  with gr.Row():
39
  with gr.Column():