electblake commited on
Commit
20aab8a
·
verified ·
1 Parent(s): fab4800

Right-size XLSX ZeroGPU reservation

Browse files

Set the XLSX inference reservation to 60 seconds based on the measured 52-second deployed run, allowing it to run within the account's remaining ZeroGPU quota. The basic workflow reservation is unchanged.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -162,7 +162,7 @@ def generate(
162
  return completion["choices"][0]["message"]["content"].rsplit("</think>", 1)[-1].strip()
163
 
164
 
165
- @spaces.GPU(duration=120)
166
  def generate_xlsx_table(
167
  system_prompt: str,
168
  user_prompt: str,
 
162
  return completion["choices"][0]["message"]["content"].rsplit("</think>", 1)[-1].strip()
163
 
164
 
165
+ @spaces.GPU(duration=60)
166
  def generate_xlsx_table(
167
  system_prompt: str,
168
  user_prompt: str,