Update Generate.py
Browse files- Generate.py +6 -1
Generate.py
CHANGED
@@ -5,7 +5,12 @@ import config
|
|
5 |
from tsai.inference import load_learner
|
6 |
|
7 |
import pandas as pd
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
def get_inputs_from_user():
|
11 |
|
|
|
5 |
from tsai.inference import load_learner
|
6 |
|
7 |
import pandas as pd
|
8 |
+
import platform
|
9 |
+
import pathlib
|
10 |
+
|
11 |
+
plt=platform.system()
|
12 |
+
if plt=='Linux':
|
13 |
+
pathlib.WindowsPath=pathlib.PosixPath
|
14 |
|
15 |
def get_inputs_from_user():
|
16 |
|