Spaces:
Paused
Paused
AmpleBasis
commited on
Commit
•
714a2bb
1
Parent(s):
0b22875
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import torch
|
|
9 |
from diffusers import CogVideoXPipeline
|
10 |
from datetime import datetime, timedelta
|
11 |
from openai import OpenAI
|
12 |
-
import spaces
|
13 |
import imageio
|
14 |
import moviepy.editor as mp
|
15 |
from typing import List, Union
|
@@ -88,7 +88,7 @@ def convert_prompt(prompt: str, retry_times: int = 3) -> str:
|
|
88 |
return prompt
|
89 |
|
90 |
|
91 |
-
@spaces.GPU(duration=240)
|
92 |
def infer(
|
93 |
prompt: str,
|
94 |
num_inference_steps: int,
|
|
|
9 |
from diffusers import CogVideoXPipeline
|
10 |
from datetime import datetime, timedelta
|
11 |
from openai import OpenAI
|
12 |
+
# import spaces
|
13 |
import imageio
|
14 |
import moviepy.editor as mp
|
15 |
from typing import List, Union
|
|
|
88 |
return prompt
|
89 |
|
90 |
|
91 |
+
# @spaces.GPU(duration=240)
|
92 |
def infer(
|
93 |
prompt: str,
|
94 |
num_inference_steps: int,
|