Update app.py
Browse files
app.py
CHANGED
@@ -560,7 +560,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
560 |
with gr.Row():
|
561 |
with gr.Column(scale=5):
|
562 |
with gr.Row():
|
563 |
-
chatbot = gr.Chatbot(elem_id="
|
564 |
with gr.Row():
|
565 |
with gr.Column(scale=12):
|
566 |
user_input = gr.Textbox(
|
@@ -634,7 +634,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
634 |
gr.Slider(label="Top-p (nucleus sampling)", value=0.6, minimum=0.0, maximum=1, step=0.05, interactive=True, info="Höhere Werte verwenden auch Tokens mit niedrigerer Wahrscheinlichkeit.", visible=True),
|
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()
|
638 |
chat_interface_bild = gr.ChatInterface(fn=generate_bild,
|
639 |
additional_inputs = additional_inputs,
|
640 |
additional_inputs_accordion = gr.Accordion(label="Weitere Eingaben...", open=False),
|
|
|
560 |
with gr.Row():
|
561 |
with gr.Column(scale=5):
|
562 |
with gr.Row():
|
563 |
+
chatbot = gr.Chatbot(elem_id="li-chat",)
|
564 |
with gr.Row():
|
565 |
with gr.Column(scale=12):
|
566 |
user_input = gr.Textbox(
|
|
|
634 |
gr.Slider(label="Top-p (nucleus sampling)", value=0.6, minimum=0.0, maximum=1, step=0.05, interactive=True, info="Höhere Werte verwenden auch Tokens mit niedrigerer Wahrscheinlichkeit.", visible=True),
|
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 |
chat_interface_bild = gr.ChatInterface(fn=generate_bild,
|
639 |
additional_inputs = additional_inputs,
|
640 |
additional_inputs_accordion = gr.Accordion(label="Weitere Eingaben...", open=False),
|