Rausda6 commited on
Commit
52f0f4a
·
verified ·
1 Parent(s): 2114e35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -418,6 +418,7 @@ def create_interface():
418
  input_file = gr.File(
419
  label="Upload File (Optional)",
420
  file_types=[".pdf", ".txt"],
 
421
  info=f"Max size: {MAX_FILE_SIZE_MB}MB"
422
  )
423
 
 
418
  input_file = gr.File(
419
  label="Upload File (Optional)",
420
  file_types=[".pdf", ".txt"],
421
+ type="filepath",
422
  info=f"Max size: {MAX_FILE_SIZE_MB}MB"
423
  )
424