Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -109,8 +109,8 @@ 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 |
-
|
114 |
with open("automl4.pkl", "rb") as f:
|
115 |
model = pickle.load(f)
|
116 |
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(1,-1)
|
113 |
+
st.write(column.shape)
|
114 |
with open("automl4.pkl", "rb") as f:
|
115 |
model = pickle.load(f)
|
116 |
pred_clip = model.predict(column)
|