Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
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":
|