ovi054 commited on
Commit
6f009b4
·
verified ·
1 Parent(s): 62f540c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ else:
107
 
108
  print("Initialization complete. Gradio is starting...")
109
 
110
- @spaces.GPU()
111
  def generate(prompt, negative_prompt, width, height, num_inference_steps, optional_lora_id, progress=gr.Progress(track_tqdm=True)):
112
 
113
  # --- Step 1: ALWAYS build the full weight vector from scratch for THIS run ---
 
107
 
108
  print("Initialization complete. Gradio is starting...")
109
 
110
+ @spaces.GPU(duration = 30)
111
  def generate(prompt, negative_prompt, width, height, num_inference_steps, optional_lora_id, progress=gr.Progress(track_tqdm=True)):
112
 
113
  # --- Step 1: ALWAYS build the full weight vector from scratch for THIS run ---