Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
|
2 |
import streamlit as st
|
3 |
import pandas as pd
|
4 |
import numpy as np
|
@@ -79,7 +78,8 @@ 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.predict(np.array([[20230223]])))
|
|
|
83 |
|
84 |
adf = pd.DataFrame(
|
85 |
astations,
|
|
|
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
import numpy as np
|
|
|
78 |
ax.plot(adf3['Date'], lin.predict(adf3[['Date']]), c='r')
|
79 |
|
80 |
# lin.score(adf3[['Date']], adf3['Celsius'])
|
81 |
+
# st.write(lin.predict(np.array([[20230223]])))
|
82 |
+
st.write(lin.predict(np.array([['Date']])))
|
83 |
|
84 |
adf = pd.DataFrame(
|
85 |
astations,
|