slenk commited on
Commit
ee83bcc
·
verified ·
1 Parent(s): b51fcba

fix(zerogpu): lower @spaces.GPU duration from 300s to 120s to stay under PRO cap

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -139,7 +139,7 @@ def retrieve_context(source_code: str, n_results: int = 3) -> str:
139
  # --- Inference ---
140
 
141
 
142
- @spaces.GPU(duration=300)
143
  def generate_spec(
144
  source_code: str,
145
  temperature: float = 0.7,
 
139
  # --- Inference ---
140
 
141
 
142
+ @spaces.GPU(duration=120)
143
  def generate_spec(
144
  source_code: str,
145
  temperature: float = 0.7,