alexkueck commited on
Commit
56e1518
1 Parent(s): f40c49a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -4
app.py CHANGED
@@ -635,10 +635,19 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
635
  gr.Slider(label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05, interactive=True, info="Strafe für wiederholte Tokens", visible=True)
636
  ]
637
  chatbot_bild = gr.Chatbot(elem_id="li-zeichnen")
638
-
639
- #chatbot_bild.like(vote, None, None)
640
-
641
-
 
 
 
 
 
 
 
 
 
642
  gr.Markdown(description)
643
 
644
  ######################################
 
635
  gr.Slider(label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05, interactive=True, info="Strafe für wiederholte Tokens", visible=True)
636
  ]
637
  chatbot_bild = gr.Chatbot(elem_id="li-zeichnen")
638
+ """
639
+ chat_interface_bild = gr.ChatInterface(fn=generate_bild,
640
+ additional_inputs = additional_inputs,
641
+ additional_inputs_accordion = gr.Accordion(label="Weitere Eingaben...", open=False),
642
+ title = "Zeichnen mit KI",
643
+ theme="soft",
644
+ chatbot=chatbot_bild,
645
+ retry_btn="🔄 Wiederholen",
646
+ undo_btn="↩️ Letztes löschen",
647
+ clear_btn="🗑️ Verlauf löschen",
648
+ submit_btn = "Abschicken",
649
+ description = description2)
650
+ """
651
  gr.Markdown(description)
652
 
653
  ######################################