Update app.py
Browse files
app.py
CHANGED
|
@@ -475,9 +475,6 @@ def custom_css():
|
|
| 475 |
background-color: #303030; /* Dunkler Hintergrund */
|
| 476 |
color:#353535;
|
| 477 |
}
|
| 478 |
-
.suppress-spinner .gr-skeleton, .suppress-spinner .gr-skeleton * {
|
| 479 |
-
display: none !important;
|
| 480 |
-
}
|
| 481 |
"""
|
| 482 |
|
| 483 |
|
|
@@ -623,7 +620,7 @@ with gr.Blocks(css=customCSS, theme=themeAlex) as demo:
|
|
| 623 |
upload_pdf_files = gr.Files(label="PDF- oder Word-Dateien in Zwischenablage", file_count="multiple")
|
| 624 |
output_text = gr.Textbox(label="Status")
|
| 625 |
renew_button = gr.Button("Dateien hochladen und System aktualisieren", elem_id="renew_button")
|
| 626 |
-
file_list = gr.HTML(elem_id="file_list", show_label=False
|
| 627 |
|
| 628 |
# Automatisches Ausführen der Upload-Funktion, wenn eine Datei hochgeladen wird
|
| 629 |
#upload_pdf_file.change(fn=upload_pdf, inputs=upload_pdf_file, outputs=output_text)
|
|
|
|
| 475 |
background-color: #303030; /* Dunkler Hintergrund */
|
| 476 |
color:#353535;
|
| 477 |
}
|
|
|
|
|
|
|
|
|
|
| 478 |
"""
|
| 479 |
|
| 480 |
|
|
|
|
| 620 |
upload_pdf_files = gr.Files(label="PDF- oder Word-Dateien in Zwischenablage", file_count="multiple")
|
| 621 |
output_text = gr.Textbox(label="Status")
|
| 622 |
renew_button = gr.Button("Dateien hochladen und System aktualisieren", elem_id="renew_button")
|
| 623 |
+
file_list = gr.HTML(elem_id="file_list", show_label=False)
|
| 624 |
|
| 625 |
# Automatisches Ausführen der Upload-Funktion, wenn eine Datei hochgeladen wird
|
| 626 |
#upload_pdf_file.change(fn=upload_pdf, inputs=upload_pdf_file, outputs=output_text)
|