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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ 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])
 
109
  data = pd.read_csv(file_upload)
110
  #column = data["S11"].iloc[1:].values
111
  column = data["S11"].values
112
+ column = column.reshape(2,-1)
113
  with open("automl4.pkl", "rb") as f:
114
  model = pickle.load(f)
115
  pred_clip = model.predict([column])