Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -488,22 +488,7 @@ Die Katastrophe in <span style="background-color: #a8e6cf; font-weight: bold; pa
|
|
488 |
""")
|
489 |
|
490 |
# Add model loading button and status at the top
|
491 |
-
with gr.Row():
|
492 |
-
load_btn = gr.Button("Modell laden (1. Schritt)", variant="secondary")
|
493 |
-
model_status = gr.Textbox(
|
494 |
-
label="Modell Status",
|
495 |
-
value="Modell nicht geladen. Bitte zuerst das Modell laden, um Verzögerungen zu vermeiden.",
|
496 |
-
elem_classes="model-status"
|
497 |
-
)
|
498 |
-
|
499 |
-
# Connect loading button
|
500 |
-
load_btn.click(
|
501 |
-
fn=load_model,
|
502 |
-
inputs=[],
|
503 |
-
outputs=[model_status]
|
504 |
-
)
|
505 |
|
506 |
-
gr.HTML("""<div class="separator"></div>""")
|
507 |
|
508 |
with gr.Row():
|
509 |
with gr.Column():
|
|
|
488 |
""")
|
489 |
|
490 |
# Add model loading button and status at the top
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
491 |
|
|
|
492 |
|
493 |
with gr.Row():
|
494 |
with gr.Column():
|