Spaces:
Runtime error
Runtime error
use Agg
Browse files
app.py
CHANGED
@@ -3,6 +3,9 @@ import pandas as pd
|
|
3 |
from gluonts.dataset.pandas import PandasDataset
|
4 |
from gluonts.dataset.split import split
|
5 |
from gluonts.torch.model.deepar import DeepAREstimator
|
|
|
|
|
|
|
6 |
import matplotlib.pyplot as plt
|
7 |
|
8 |
|
|
|
3 |
from gluonts.dataset.pandas import PandasDataset
|
4 |
from gluonts.dataset.split import split
|
5 |
from gluonts.torch.model.deepar import DeepAREstimator
|
6 |
+
import matplotlib
|
7 |
+
|
8 |
+
matplotlib.use("Agg")
|
9 |
import matplotlib.pyplot as plt
|
10 |
|
11 |
|