mgokg commited on
Commit
986b667
·
verified ·
1 Parent(s): 1dd6f92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="file")
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