saritha5 commited on
Commit
1535cde
1 Parent(s): 8b39876

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -12,6 +12,8 @@ import torch.optim as optim
12
  plt.rcParams.update({'pdf.fonttype': 'truetype'})
13
  import pickle
14
  pc2 = pickle.load(open('price.pkl','rb'))
 
 
15
  def to_tensor(x):
16
  return torch.from_numpy(np.array(x).astype(np.float32))
17
  def prediction(price_max,price_step,policy_net):
 
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))
19
  def prediction(price_max,price_step,policy_net):