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