Spaces:
Running on Zero
Running on Zero
Right-size XLSX ZeroGPU reservation
Browse filesSet 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.
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=
|
| 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,
|