Astridkraft commited on
Commit
dcf20ee
·
verified ·
1 Parent(s): 27b2eb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -4
app.py CHANGED
@@ -1556,24 +1556,38 @@ def main_ui():
1556
  minimum=0, maximum=MAX_IMAGE_SIZE, value=300, step=1,
1557
  info="Untere Kante des Bildelementbereichs"
1558
  )
 
1559
 
1560
  with gr.Row():
1561
  with gr.Column():
 
 
 
 
 
1562
  img_prompt = gr.Textbox(
1563
- placeholder = "[STIL] von [HAUPTMOTIV], [UMGEBUNG], [DETAILS], [QUALITÄT], [BELEUCHTUNG]", # STARTWERT!
1564
  #placeholder="change background to beach with palm trees, keep person unchanged, sunny day",
1565
  lines=2,
1566
  label="🎯 Transformations-Prompt (Englisch)",
1567
- info="Was soll verändert werden? Sei spezifisch."
 
1568
  )
1569
  with gr.Column():
 
 
 
 
 
1570
  img_neg_prompt = gr.Textbox(
1571
- placeholder = "[GESICHTER], [FEHLER], [QUALITÄT], [UNERWÜNSCHTES]", # STARTWERT!
1572
  #placeholder="blurry, deformed, ugly, bad anatomy, extra limbs, poorly drawn hands",
1573
  lines=2,
1574
  label="🚫 Negativ-Prompt (Englisch)",
1575
- info="Was soll vermieden werden? Unerwünschte Elemente auflisten."
 
1576
  )
 
1577
 
1578
  with gr.Row():
1579
  with gr.Column():
 
1556
  minimum=0, maximum=MAX_IMAGE_SIZE, value=300, step=1,
1557
  info="Untere Kante des Bildelementbereichs"
1558
  )
1559
+
1560
 
1561
  with gr.Row():
1562
  with gr.Column():
1563
+ # Info-Block über Positiv-Prompt
1564
+ pos_info = gr.Markdown(
1565
+ value="**📝 Prompt-Formel (Umgebung):**<br>`[STIL] von [HAUPTMOTIV], [UMGEBUNG], [DETAILS], [QUALITÄT], [BELEUCHTUNG]`",
1566
+ elem_classes=["info-box"]
1567
+ )
1568
  img_prompt = gr.Textbox(
1569
+ #placeholder = "[STIL] von [HAUPTMOTIV], [UMGEBUNG], [DETAILS], [QUALITÄT], [BELEUCHTUNG]", # STARTWERT!
1570
  #placeholder="change background to beach with palm trees, keep person unchanged, sunny day",
1571
  lines=2,
1572
  label="🎯 Transformations-Prompt (Englisch)",
1573
+ #info="Was soll verändert werden? Sei spezifisch."
1574
+ elem_classes=["prompt-box"]
1575
  )
1576
  with gr.Column():
1577
+ # Info_Block über Negativ-Prompt
1578
+ neg_info = gr.Markdown(
1579
+ value="**🚫 Negativ-Formel (Umgebung):**<br>`[GESICHTER], [FEHLER], [QUALITÄT], [UNERWÜNSCHTES]`",
1580
+ elem_classes=["info-box"]
1581
+ )
1582
  img_neg_prompt = gr.Textbox(
1583
+ #placeholder = "[GESICHTER], [FEHLER], [QUALITÄT], [UNERWÜNSCHTES]", # STARTWERT!
1584
  #placeholder="blurry, deformed, ugly, bad anatomy, extra limbs, poorly drawn hands",
1585
  lines=2,
1586
  label="🚫 Negativ-Prompt (Englisch)",
1587
+ #info="Was soll vermieden werden? Unerwünschte Elemente auflisten."
1588
+ elem_classes=["prompt-box"]
1589
  )
1590
+
1591
 
1592
  with gr.Row():
1593
  with gr.Column():