Shikun commited on
Commit
9fcc8d4
·
1 Parent(s): 66a8ff9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -108,7 +108,8 @@ file_upload = st.file_uploader("Upload a csv file", type="csv")
108
  if file_upload is not None:
109
  data = pd.read_csv(file_upload)
110
  #column = data["S11"].iloc[1:].values
111
- column = data["S11"].values.reshape(1,-1)
 
112
  with open("automl4.pkl", "rb") as f:
113
  model = pickle.load(f)
114
  pred_clip = model.predict([column])
 
108
  if file_upload is not None:
109
  data = pd.read_csv(file_upload)
110
  #column = data["S11"].iloc[1:].values
111
+ column = data["S11"].values
112
+ column = column.reshape(1,-1)
113
  with open("automl4.pkl", "rb") as f:
114
  model = pickle.load(f)
115
  pred_clip = model.predict([column])