Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -254,18 +254,14 @@ with gr.Blocks(css= "style.css") as app:
|
|
254 |
with gr.Row():
|
255 |
model_dropdown = gr.Dropdown(choices=models, label="Model", value="Model B")
|
256 |
vae_dropdown = gr.Dropdown(choices=vae, label="VAE", value="VAE C")
|
257 |
-
|
258 |
-
# Prompt dan Neg Prompt
|
259 |
-
with gr.Row():
|
260 |
-
with gr.Column(scale=1): # Scale 1 ensures full width
|
261 |
-
prompt_input = gr.Textbox(label="Prompt", placeholder="Masukkan prompt teks", lines=2, elem_id="prompt-input")
|
262 |
-
neg_prompt_input = gr.Textbox(label="Neg Prompt", placeholder="Masukkan negasi prompt", lines=2, elem_id="neg-prompt-input")
|
263 |
-
|
264 |
-
generate_button = gr.Button("Generate", elem_id="generate-button", scale=0.13)
|
265 |
-
|
266 |
|
267 |
# Tab untuk Text-to-Image
|
268 |
with gr.Tab("Text-to-Image"):
|
|
|
|
|
|
|
|
|
|
|
269 |
|
270 |
with gr.Row():
|
271 |
with gr.Column():
|
|
|
254 |
with gr.Row():
|
255 |
model_dropdown = gr.Dropdown(choices=models, label="Model", value="Model B")
|
256 |
vae_dropdown = gr.Dropdown(choices=vae, label="VAE", value="VAE C")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
|
258 |
# Tab untuk Text-to-Image
|
259 |
with gr.Tab("Text-to-Image"):
|
260 |
+
with gr.Row():
|
261 |
+
with gr.Column(scale=1):
|
262 |
+
prompt_input = gr.Textbox(label="Prompt", placeholder="Masukkan prompt teks", lines=2, elem_id="prompt-input")
|
263 |
+
neg_prompt_input = gr.Textbox(label="Neg Prompt", placeholder="Masukkan negasi prompt", lines=2, elem_id="neg-prompt-input")
|
264 |
+
generate_button = gr.Button("Generate", elem_id="generate-button", scale=0.13)
|
265 |
|
266 |
with gr.Row():
|
267 |
with gr.Column():
|