a10 commited on
Commit
9b76272
·
1 Parent(s): 5b5c608

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def asubmit(aparam):
80
 
81
  # lin.score(adf3[['Date']], adf3['Celsius'])
82
  # st.write(lin.predict(np.array([[20230223]])))
83
- st.write(lin.predict(np.array([['Date']], dtype=int32)))
84
 
85
  adf = pd.DataFrame(
86
  astations,
@@ -92,3 +92,4 @@ aoption = acontainer1.selectbox(
92
  )
93
  if acontainer2.button("Submit") == True:
94
  asubmit(aparam={"aselected":aoption,"acontainer":acontainer3,"adataframe":adf,"acolumntitles":['Date','Celsius'],})
 
 
80
 
81
  # lin.score(adf3[['Date']], adf3['Celsius'])
82
  # st.write(lin.predict(np.array([[20230223]])))
83
+ st.write(lin.predict(np.array([['Date']], dtype='int32')))
84
 
85
  adf = pd.DataFrame(
86
  astations,
 
92
  )
93
  if acontainer2.button("Submit") == True:
94
  asubmit(aparam={"aselected":aoption,"acontainer":acontainer3,"adataframe":adf,"acolumntitles":['Date','Celsius'],})
95
+