a10 commited on
Commit
f63acc1
·
1 Parent(s): ffec3b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ def asubmit(aparam):
79
  ax.plot(adf3['Date'], lin.predict(adf3[['Date']]), c='r')
80
 
81
  # lin.score(adf3[['Date']], adf3['Celsius'])
82
- st.write(lin.score(adf3[['Date']], adf3['Celsius']))
83
 
84
  adf = pd.DataFrame(
85
  astations,
 
79
  ax.plot(adf3['Date'], lin.predict(adf3[['Date']]), c='r')
80
 
81
  # lin.score(adf3[['Date']], adf3['Celsius'])
82
+ st.write(reg.predict(np.array([[20230223]])))
83
 
84
  adf = pd.DataFrame(
85
  astations,