Spaces:
Runtime error
Runtime error
DongfuJiang
commited on
Commit
•
ecd93d8
1
Parent(s):
26d5130
update
Browse files- app_high_res.py +1 -1
app_high_res.py
CHANGED
@@ -59,7 +59,7 @@ For this video, the text prompt is "{text_prompt}",
|
|
59 |
all the frames of video are as follows:
|
60 |
|
61 |
"""
|
62 |
-
@spaces.GPU
|
63 |
def generate(text:str, images:List[Image.Image], history: List[dict], **kwargs):
|
64 |
global processor, model
|
65 |
model = model.to("cuda")
|
|
|
59 |
all the frames of video are as follows:
|
60 |
|
61 |
"""
|
62 |
+
@spaces.GPU(duration=60)
|
63 |
def generate(text:str, images:List[Image.Image], history: List[dict], **kwargs):
|
64 |
global processor, model
|
65 |
model = model.to("cuda")
|