Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ h1 {
|
|
90 |
.description {
|
91 |
text-align: center;
|
92 |
font-size: 1.2rem;
|
93 |
-
color:
|
94 |
margin-bottom: 20px;
|
95 |
font-style: italic;
|
96 |
}
|
@@ -145,10 +145,10 @@ with gr.Blocks(theme=IndonesiaTheme(), css=css) as app:
|
|
145 |
# Accordion for advanced settings
|
146 |
with gr.Row():
|
147 |
with gr.Accordion("⚙️ Pengaturan Lanjutan", open=False):
|
148 |
-
negative_prompt = gr.Textbox(label="❌ Prompt Negatif", placeholder="Elemen yang tidak diinginkan dalam gambar", value="(deformed, distorted, disfigured)
|
149 |
with gr.Row():
|
150 |
width = gr.Slider(label="Lebar", value=1024, minimum=64, maximum=1216, step=32)
|
151 |
-
height = gr.Slider(label="Tinggi", value=
|
152 |
steps = gr.Slider(label="Langkah Sampling", value=4, minimum=1, maximum=100, step=1)
|
153 |
cfg = gr.Slider(label="Skala CFG", value=7, minimum=1, maximum=20, step=1)
|
154 |
strength = gr.Slider(label="Kekuatan", value=0.7, minimum=0, maximum=1, step=0.001)
|
|
|
90 |
.description {
|
91 |
text-align: center;
|
92 |
font-size: 1.2rem;
|
93 |
+
color: black;
|
94 |
margin-bottom: 20px;
|
95 |
font-style: italic;
|
96 |
}
|
|
|
145 |
# Accordion for advanced settings
|
146 |
with gr.Row():
|
147 |
with gr.Accordion("⚙️ Pengaturan Lanjutan", open=False):
|
148 |
+
negative_prompt = gr.Textbox(label="❌ Prompt Negatif", placeholder="Elemen yang tidak diinginkan dalam gambar", value="(deformed, distorted, disfigured), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation, misspellings, typos", lines=3, elem_id="negative-prompt-text-input")
|
149 |
with gr.Row():
|
150 |
width = gr.Slider(label="Lebar", value=1024, minimum=64, maximum=1216, step=32)
|
151 |
+
height = gr.Slider(label="Tinggi", value=768, minimum=64, maximum=1216, step=32)
|
152 |
steps = gr.Slider(label="Langkah Sampling", value=4, minimum=1, maximum=100, step=1)
|
153 |
cfg = gr.Slider(label="Skala CFG", value=7, minimum=1, maximum=20, step=1)
|
154 |
strength = gr.Slider(label="Kekuatan", value=0.7, minimum=0, maximum=1, step=0.001)
|