arad1367 commited on
Commit
534e523
Β·
verified Β·
1 Parent(s): 1134308

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def summarize_pdf(pdf_file, model):
30
  text += page.get_text()
31
  return summarize_text(text, model)
32
 
33
- @spaces.GPU(duration=300)
34
  def summarize(input_type, input_text, uploaded_file):
35
  try:
36
  if input_type == "Text":
 
30
  text += page.get_text()
31
  return summarize_text(text, model)
32
 
33
+ @spaces.GPU(duration=60)
34
  def summarize(input_type, input_text, uploaded_file):
35
  try:
36
  if input_type == "Text":