prithivMLmods commited on
Commit
3c8af7a
·
verified ·
1 Parent(s): db500da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def apply_style(style_name: str, positive: str) -> Tuple[str, str]:
65
  p, n = styles.get(style_name, styles[DEFAULT_STYLE_NAME])
66
  return p.replace("{prompt}", positive), n
67
 
68
- @spaces.GPU(duration=60, enable_queue=True)
69
  def generate(
70
  prompt: str,
71
  negative_prompt: str = "",
 
65
  p, n = styles.get(style_name, styles[DEFAULT_STYLE_NAME])
66
  return p.replace("{prompt}", positive), n
67
 
68
+ @spaces.GPU
69
  def generate(
70
  prompt: str,
71
  negative_prompt: str = "",