Lupara90 commited on
Commit
fb451c6
·
verified ·
1 Parent(s): dffb4a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ if not os.path.exists(model_path):
53
  # ==========================================
54
  # 3. Dynamic GPU Inference Function
55
  # ==========================================
56
- @spaces.GPU(duration=120)
57
  def generate_image(user_prompt):
58
  if not os.path.exists("workflow_api.json"):
59
  print("Error: workflow_api.json missing from root directory.")
 
53
  # ==========================================
54
  # 3. Dynamic GPU Inference Function
55
  # ==========================================
56
+ @spaces.gpu(duration=120)
57
  def generate_image(user_prompt):
58
  if not os.path.exists("workflow_api.json"):
59
  print("Error: workflow_api.json missing from root directory.")