Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,10 +28,10 @@ with gr.Blocks() as app:
|
|
| 28 |
# Tab untuk Text-to-Image
|
| 29 |
with gr.Tab("Text-to-Image"):
|
| 30 |
# Prompt dan Neg Prompt
|
| 31 |
-
with gr.
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
with gr.Row():
|
| 36 |
generate_button = gr.Button("Generate", elem_id="generate-button", scale=0.2)
|
| 37 |
|
|
|
|
| 28 |
# Tab untuk Text-to-Image
|
| 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 |
|