mokady commited on
Commit
194abb3
1 Parent(s): f771780

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -69,6 +69,7 @@ def read_content(file_path: str) -> str:
69
 
70
  return content
71
 
 
72
  def predict(dict, prompt="", negative_prompt="", guidance_scale=5, steps=30, strength=1.0):
73
  if negative_prompt == "":
74
  negative_prompt = None
 
69
 
70
  return content
71
 
72
+ @spaces.GPU(enable_queue=True)
73
  def predict(dict, prompt="", negative_prompt="", guidance_scale=5, steps=30, strength=1.0):
74
  if negative_prompt == "":
75
  negative_prompt = None