freQuensy23 commited on
Commit
9233e07
1 Parent(s): 72f7cb5
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ interface = gr.Interface(
69
  fn=handle_files_and_query,
70
  inputs=[
71
  gr.Textbox(lines=1, label="Enter your search query here..."),
72
- gr.File(file_count="multiple", type="file", file_types=[".pdf"], label="Upload a file here."),
73
  gr.Slider(minimum=1, maximum=100, value=50, label="Chunk Overlap"),
74
  gr.Slider(minimum=64, maximum=512, value=256, label="Tokens Per Chunk (чем больше - тем бОльшие куски книги "
75
  "сможем находить)"),
 
69
  fn=handle_files_and_query,
70
  inputs=[
71
  gr.Textbox(lines=1, label="Enter your search query here..."),
72
+ gr.File(file_count="multiple", type="filepath", file_types=[".pdf"], label="Upload a file here."),
73
  gr.Slider(minimum=1, maximum=100, value=50, label="Chunk Overlap"),
74
  gr.Slider(minimum=64, maximum=512, value=256, label="Tokens Per Chunk (чем больше - тем бОльшие куски книги "
75
  "сможем находить)"),