Update app.py
Browse files
app.py
CHANGED
|
@@ -420,7 +420,7 @@ with gr.Blocks(title="🤗 Filestorage MCP Server", theme=gr.themes.Soft()) as d
|
|
| 420 |
|
| 421 |
with gr.Tab("📋 Alle Dateien"):
|
| 422 |
all_files_btn = gr.Button("🗂️ Alle Dateien anzeigen", variant="secondary")
|
| 423 |
-
all_files_output = gr.Textbox(
|
| 424 |
label="Alle Dateien",
|
| 425 |
lines=20,
|
| 426 |
max_lines=25
|
|
@@ -428,7 +428,7 @@ with gr.Blocks(title="🤗 Filestorage MCP Server", theme=gr.themes.Soft()) as d
|
|
| 428 |
|
| 429 |
all_files_btn.click(
|
| 430 |
list_all_files_space,
|
| 431 |
-
outputs=all_files_files_output
|
| 432 |
)
|
| 433 |
|
| 434 |
with gr.Tab("ℹ️ Info"):
|
|
|
|
| 420 |
|
| 421 |
with gr.Tab("📋 Alle Dateien"):
|
| 422 |
all_files_btn = gr.Button("🗂️ Alle Dateien anzeigen", variant="secondary")
|
| 423 |
+
all_files_output = gr.Textbox( # ← Richtiger Variablenname
|
| 424 |
label="Alle Dateien",
|
| 425 |
lines=20,
|
| 426 |
max_lines=25
|
|
|
|
| 428 |
|
| 429 |
all_files_btn.click(
|
| 430 |
list_all_files_space,
|
| 431 |
+
outputs=all_files_output # ← Korrigiert von 'all_files_files_output'
|
| 432 |
)
|
| 433 |
|
| 434 |
with gr.Tab("ℹ️ Info"):
|