Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import torch
|
|
6 |
from chronos import ChronosPipeline
|
7 |
|
8 |
class TimeSeriesForecaster:
|
9 |
-
def __init__(self, model_name="amazon/chronos-t5-
|
10 |
self.pipeline = ChronosPipeline.from_pretrained(
|
11 |
model_name,
|
12 |
device_map="cuda" if torch.cuda.is_available() else "cpu",
|
|
|
6 |
from chronos import ChronosPipeline
|
7 |
|
8 |
class TimeSeriesForecaster:
|
9 |
+
def __init__(self, model_name="amazon/chronos-t5-small"):
|
10 |
self.pipeline = ChronosPipeline.from_pretrained(
|
11 |
model_name,
|
12 |
device_map="cuda" if torch.cuda.is_available() else "cpu",
|