Spaces:
Running
Running
Update app_high_res.py
Browse files- app_high_res.py +2 -2
app_high_res.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
import spaces
|
3 |
import os
|
4 |
import time
|
5 |
import json
|
@@ -58,7 +58,7 @@ For this video, the text prompt is "{text_prompt}",
|
|
58 |
all the frames of video are as follows:
|
59 |
|
60 |
"""
|
61 |
-
|
62 |
def generate(text:str, images:List[Image.Image], history: List[dict], **kwargs):
|
63 |
model.to("cuda")
|
64 |
if not images:
|
|
|
1 |
import gradio as gr
|
2 |
+
#import spaces
|
3 |
import os
|
4 |
import time
|
5 |
import json
|
|
|
58 |
all the frames of video are as follows:
|
59 |
|
60 |
"""
|
61 |
+
#@spaces.GPU(duration=60)
|
62 |
def generate(text:str, images:List[Image.Image], history: List[dict], **kwargs):
|
63 |
model.to("cuda")
|
64 |
if not images:
|