Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import torch.optim as optim
|
|
12 |
plt.rcParams.update({'pdf.fonttype': 'truetype'})
|
13 |
import pickle
|
14 |
pc2 = pickle.load(open('price.pkl','rb'))
|
15 |
-
|
16 |
st.title("Price Optimization")
|
17 |
def to_tensor(x):
|
18 |
return torch.from_numpy(np.array(x).astype(np.float32))
|
|
|
12 |
plt.rcParams.update({'pdf.fonttype': 'truetype'})
|
13 |
import pickle
|
14 |
pc2 = pickle.load(open('price.pkl','rb'))
|
15 |
+
import streamlit as st
|
16 |
st.title("Price Optimization")
|
17 |
def to_tensor(x):
|
18 |
return torch.from_numpy(np.array(x).astype(np.float32))
|