orderlymirror commited on
Commit
85ac804
·
verified ·
1 Parent(s): b8e7e7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ from transformers import CLIPFeatureExtractor
36
  feature_extractor = CLIPFeatureExtractor.from_pretrained("openai/clip-vit-base-patch32")
37
 
38
  # Function
39
- @spaces.GPU(duration=60,queue=True)
40
  def generate_image(prompt, base="Realistic", motion="", step=8, resolution="Square", progress=gr.Progress()):
41
  global step_loaded
42
  global base_loaded
 
36
  feature_extractor = CLIPFeatureExtractor.from_pretrained("openai/clip-vit-base-patch32")
37
 
38
  # Function
39
+ @spaces.GPU(queue=True)
40
  def generate_image(prompt, base="Realistic", motion="", step=8, resolution="Square", progress=gr.Progress()):
41
  global step_loaded
42
  global base_loaded