AkashDataScience commited on
Commit
1e93f98
·
1 Parent(s): cc7e366

Updated interface

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
57
  gr.Markdown(f"# {title}\n{description}")
58
  with gr.Row():
59
  with gr.Column():
60
- pdf = gr.UploadButton(file_types=[".pdf"])
61
  chunk_size = gr.Slider(0, 2000, 1000, 100, label="Size of Chunk")
62
  chunk_overlap = gr.Slider(0, 1000, 100, 100, label="Size of Chunk Overlap")
63
  with gr.Row():
 
57
  gr.Markdown(f"# {title}\n{description}")
58
  with gr.Row():
59
  with gr.Column():
60
+ pdf = gr.File(label="Upload your PDF Files", file_count="multiple", file_types=[".pdf"])
61
  chunk_size = gr.Slider(0, 2000, 1000, 100, label="Size of Chunk")
62
  chunk_overlap = gr.Slider(0, 1000, 100, 100, label="Size of Chunk Overlap")
63
  with gr.Row():