Plat commited on
Commit
6ba6160
β€’
1 Parent(s): 6ea233e

set duration

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,7 +130,7 @@ def format_prompt(prompt: str, prompt_suffix: str):
130
  return f"{prompt}, {prompt_suffix}"
131
 
132
 
133
- @spaces.GPU
134
  def generate_image(
135
  prompt: str,
136
  negative_prompt: str,
 
130
  return f"{prompt}, {prompt_suffix}"
131
 
132
 
133
+ @spaces.GPU(duration=25)
134
  def generate_image(
135
  prompt: str,
136
  negative_prompt: str,