xavierbarbier commited on
Commit
824cb42
·
verified ·
1 Parent(s): eed3110

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ def summarise(text):
76
 
77
  chunks = [text[i:i + chunk_size] for i in range(0, len(text), chunk_size)]
78
 
79
- return print(len(chunks))
80
 
81
  with gr.Blocks() as demo:
82
  file_input = gr.File(label="Upload a PDF file")
 
76
 
77
  chunks = [text[i:i + chunk_size] for i in range(0, len(text), chunk_size)]
78
 
79
+ return len(chunks)
80
 
81
  with gr.Blocks() as demo:
82
  file_input = gr.File(label="Upload a PDF file")