Update app.py
Browse files
app.py
CHANGED
|
@@ -438,6 +438,8 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
| 438 |
#damit der Prompt auch nach dem upload in die History noch für predicts_args verfügbar ist
|
| 439 |
user_question2 = gr.State("")
|
| 440 |
attached_file = gr.State(None)
|
|
|
|
|
|
|
| 441 |
################################################
|
| 442 |
# Tab zum Chatbot mit Text oder Bildeingabe
|
| 443 |
################################################
|
|
@@ -445,7 +447,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
| 445 |
with gr.Tab("LI Chatbot"):
|
| 446 |
with gr.Row():
|
| 447 |
#gr.HTML("LI Chatot")
|
| 448 |
-
status_display = gr.Markdown("Success", visible = False, elem_id="status_display")
|
| 449 |
with gr.Row():
|
| 450 |
with gr.Column(scale=5):
|
| 451 |
with gr.Row():
|
|
@@ -519,7 +521,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
| 519 |
with gr.Tab("LI Zeichnen"):
|
| 520 |
with gr.Row():
|
| 521 |
#gr.HTML("LI Zeichnen mit KI")
|
| 522 |
-
status_display2 = gr.Markdown("Success", visible = False, elem_id="status_display")
|
| 523 |
#gr.Markdown(description2)
|
| 524 |
with gr.Row():
|
| 525 |
with gr.Column(scale=5):
|
|
|
|
| 438 |
#damit der Prompt auch nach dem upload in die History noch für predicts_args verfügbar ist
|
| 439 |
user_question2 = gr.State("")
|
| 440 |
attached_file = gr.State(None)
|
| 441 |
+
status_display = gr.State("")
|
| 442 |
+
status_display2 = gr.State("")
|
| 443 |
################################################
|
| 444 |
# Tab zum Chatbot mit Text oder Bildeingabe
|
| 445 |
################################################
|
|
|
|
| 447 |
with gr.Tab("LI Chatbot"):
|
| 448 |
with gr.Row():
|
| 449 |
#gr.HTML("LI Chatot")
|
| 450 |
+
#status_display = gr.Markdown("Success", visible = False, elem_id="status_display")
|
| 451 |
with gr.Row():
|
| 452 |
with gr.Column(scale=5):
|
| 453 |
with gr.Row():
|
|
|
|
| 521 |
with gr.Tab("LI Zeichnen"):
|
| 522 |
with gr.Row():
|
| 523 |
#gr.HTML("LI Zeichnen mit KI")
|
| 524 |
+
#status_display2 = gr.Markdown("Success", visible = False, elem_id="status_display")
|
| 525 |
#gr.Markdown(description2)
|
| 526 |
with gr.Row():
|
| 527 |
with gr.Column(scale=5):
|