Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ from transformers import CLIPFeatureExtractor
|
|
41 |
feature_extractor = CLIPFeatureExtractor.from_pretrained("openai/clip-vit-base-patch32")
|
42 |
|
43 |
# Function
|
44 |
-
@spaces.GPU(duration=
|
45 |
def generate_image(prompt, base="Realistic", motion="", step=8, progress=gr.Progress()):
|
46 |
global step_loaded
|
47 |
global base_loaded
|
|
|
41 |
feature_extractor = CLIPFeatureExtractor.from_pretrained("openai/clip-vit-base-patch32")
|
42 |
|
43 |
# Function
|
44 |
+
@spaces.GPU(duration=30,queue=False)
|
45 |
def generate_image(prompt, base="Realistic", motion="", step=8, progress=gr.Progress()):
|
46 |
global step_loaded
|
47 |
global base_loaded
|