mkoot007 commited on
Commit
ebcde15
·
1 Parent(s): 2d6ede7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -29,13 +29,14 @@ def generate_summary(pdf_path):
29
 
30
  iface = gr.Interface(
31
  fn=generate_summary,
32
- inputs=gr.File(),
33
  outputs=[
34
  gr.Textbox(),
35
  gr.Textbox(),
36
  gr.Textbox(),
37
  ],
38
- live=True
 
39
  )
40
 
41
  iface.launch()
 
29
 
30
  iface = gr.Interface(
31
  fn=generate_summary,
32
+ inputs="file_path", # Change to file_path instead of gr.File()
33
  outputs=[
34
  gr.Textbox(),
35
  gr.Textbox(),
36
  gr.Textbox(),
37
  ],
38
+ live=True,
39
+ max_upload_size=200 # Adjust the maximum upload size as needed
40
  )
41
 
42
  iface.launch()