Fix bugs
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ model.eval()
|
|
31 |
# βββ INFERENCE + VALIDATION ββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
32 |
|
33 |
@spaces.GPU # dynamically allocate & release a ZeroGPU device on each call :contentReference[oaicite:0]{index=0}
|
34 |
-
def infer_chatts(prompt: str, csv_file)
|
35 |
"""
|
36 |
1. Load CSV: first column = timestamp, other columns = TS names.
|
37 |
2. Drop empty / all-NaN columns; enforce <=15 series.
|
|
|
31 |
# βββ INFERENCE + VALIDATION ββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
32 |
|
33 |
@spaces.GPU # dynamically allocate & release a ZeroGPU device on each call :contentReference[oaicite:0]{index=0}
|
34 |
+
def infer_chatts(prompt: str, csv_file):
|
35 |
"""
|
36 |
1. Load CSV: first column = timestamp, other columns = TS names.
|
37 |
2. Drop empty / all-NaN columns; enforce <=15 series.
|