Spaces:
Sleeping
Sleeping
Production release: Remove debug logging, add proven results to README
Browse files
app.py
CHANGED
|
@@ -620,9 +620,9 @@ for idx, row in df.iterrows():
|
|
| 620 |
metadata={},
|
| 621 |
)
|
| 622 |
|
| 623 |
-
# Process with runtime
|
| 624 |
t_start = time.perf_counter()
|
| 625 |
-
result = runtime.process(context)
|
| 626 |
t_elapsed = (time.perf_counter() - t_start) * 1000 # ms
|
| 627 |
|
| 628 |
# Heavy model prediction if activated
|
|
|
|
| 620 |
metadata={},
|
| 621 |
)
|
| 622 |
|
| 623 |
+
# Process with runtime (pass features dict, not ProcessingContext)
|
| 624 |
t_start = time.perf_counter()
|
| 625 |
+
result = runtime.process(context.features)
|
| 626 |
t_elapsed = (time.perf_counter() - t_start) * 1000 # ms
|
| 627 |
|
| 628 |
# Heavy model prediction if activated
|