mokady commited on
Commit
1403e61
1 Parent(s): 4c6dcb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -105,6 +105,7 @@ def read_content(file_path: str) -> str:
105
 
106
  return content
107
 
 
108
  def predict(dict, prompt="", negative_prompt = default_negative_prompt, guidance_scale=1.2, steps=12, seed=123456):
109
  if negative_prompt == "":
110
  negative_prompt = None
 
105
 
106
  return content
107
 
108
+ @spaces.GPU(enable_queue=True)
109
  def predict(dict, prompt="", negative_prompt = default_negative_prompt, guidance_scale=1.2, steps=12, seed=123456):
110
  if negative_prompt == "":
111
  negative_prompt = None