Update app.py
Browse files
app.py
CHANGED
|
@@ -630,6 +630,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
| 630 |
################################################
|
| 631 |
# Tab zum Zeichnen mit Stable Diffusion
|
| 632 |
################################################
|
|
|
|
| 633 |
description2 = "<strong>Information:</strong> Hier wird ein <strong>Large Language Model (LLM)</strong> zum Zeichnen verwendet. Zur Zeit wird hier Stable Diffusion verwendet.\n\n"
|
| 634 |
additional_inputs = [
|
| 635 |
gr.Slider(label="Temperature", value=0.65, minimum=0.0, maximum=1.0, step=0.05, interactive=True, info="Höhere Werte erzeugen diversere Antworten", visible=True),
|
|
@@ -639,7 +640,6 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
| 639 |
]
|
| 640 |
#damit der Prompt auch nach dem upload in die History noch für predicts_args verfügbar ist
|
| 641 |
user_question2 = gr.State("")
|
| 642 |
-
with gr.Tab("KI zum Zeichnen"):
|
| 643 |
with gr.Row():
|
| 644 |
gr.HTML("LI Zeichnen mit KI")
|
| 645 |
status_display2 = gr.Markdown("Success", elem_id="status_display")
|
|
|
|
| 630 |
################################################
|
| 631 |
# Tab zum Zeichnen mit Stable Diffusion
|
| 632 |
################################################
|
| 633 |
+
with gr.Tab("KI zum Zeichnen"):
|
| 634 |
description2 = "<strong>Information:</strong> Hier wird ein <strong>Large Language Model (LLM)</strong> zum Zeichnen verwendet. Zur Zeit wird hier Stable Diffusion verwendet.\n\n"
|
| 635 |
additional_inputs = [
|
| 636 |
gr.Slider(label="Temperature", value=0.65, minimum=0.0, maximum=1.0, step=0.05, interactive=True, info="Höhere Werte erzeugen diversere Antworten", visible=True),
|
|
|
|
| 640 |
]
|
| 641 |
#damit der Prompt auch nach dem upload in die History noch für predicts_args verfügbar ist
|
| 642 |
user_question2 = gr.State("")
|
|
|
|
| 643 |
with gr.Row():
|
| 644 |
gr.HTML("LI Zeichnen mit KI")
|
| 645 |
status_display2 = gr.Markdown("Success", elem_id="status_display")
|