Spaces:
Runtime error
Runtime error
Yijun-Yang
commited on
Commit
·
858bdfa
1
Parent(s):
05ac4f8
updatespacesgpu
Browse files
app.py
CHANGED
@@ -386,7 +386,7 @@ def getpmcurls(references):
|
|
386 |
urls.append(ref)
|
387 |
return urls
|
388 |
|
389 |
-
|
390 |
def summarize_text(query,chunksize:int,remote_ornot:bool):
|
391 |
if remote_ornot:
|
392 |
backend = 'remote'
|
|
|
386 |
urls.append(ref)
|
387 |
return urls
|
388 |
|
389 |
+
@spaces.GPU(duration=360)
|
390 |
def summarize_text(query,chunksize:int,remote_ornot:bool):
|
391 |
if remote_ornot:
|
392 |
backend = 'remote'
|