Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def process_pdf(file):
|
|
33 |
# Erstelle die Gradio-Schnittstelle
|
34 |
with gr.Blocks() as demo:
|
35 |
gr.Markdown("# PDF Upload to ChromaDB")
|
36 |
-
file_input = gr.File(label="Wähle eine PDF-Datei aus", type="
|
37 |
submit_button = gr.Button("Hochladen")
|
38 |
output_text = gr.Textbox(label="Status")
|
39 |
|
|
|
33 |
# Erstelle die Gradio-Schnittstelle
|
34 |
with gr.Blocks() as demo:
|
35 |
gr.Markdown("# PDF Upload to ChromaDB")
|
36 |
+
file_input = gr.File(label="Wähle eine PDF-Datei aus", type="filepath")
|
37 |
submit_button = gr.Button("Hochladen")
|
38 |
output_text = gr.Textbox(label="Status")
|
39 |
|