doevent commited on
Commit
b373b51
·
verified ·
1 Parent(s): 074616c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ def validate_dimensions(width: int, height: int) -> None:
79
  if not MIN_IMAGE_SIZE <= height <= MAX_IMAGE_SIZE:
80
  raise GenerationError(f"Height must be between {MIN_IMAGE_SIZE} and {MAX_IMAGE_SIZE}")
81
 
82
- @spaces.GPU(duration=20)
83
  def generate(
84
  prompt: str,
85
  negative_prompt: str = DEFAULT_NEGATIVE_PROMPT,
 
79
  if not MIN_IMAGE_SIZE <= height <= MAX_IMAGE_SIZE:
80
  raise GenerationError(f"Height must be between {MIN_IMAGE_SIZE} and {MAX_IMAGE_SIZE}")
81
 
82
+ @spaces.GPU(duration=25)
83
  def generate(
84
  prompt: str,
85
  negative_prompt: str = DEFAULT_NEGATIVE_PROMPT,