Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,8 @@ import pandas as pd
|
|
11 |
import plotly.express as px
|
12 |
|
13 |
#Load tokenizer
|
14 |
-
fp = Path(__file__).with_name('tokenizer.pkl')
|
15 |
-
with open(
|
16 |
tokenizer = pickle.load(f)
|
17 |
|
18 |
#Load LSTM
|
|
|
11 |
import plotly.express as px
|
12 |
|
13 |
#Load tokenizer
|
14 |
+
#fp = Path(__file__).with_name('tokenizer.pkl')
|
15 |
+
with open('train/tokenizer/tokenizer.pkl',mode="rb") as f:
|
16 |
tokenizer = pickle.load(f)
|
17 |
|
18 |
#Load LSTM
|