Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ def asubmit(aparam):
|
|
87 |
|
88 |
atrendproject = [20230223,]
|
89 |
st.write(lin.predict(np.array([atrendproject])))
|
90 |
-
|
91 |
|
92 |
adf = pd.DataFrame(
|
93 |
astations,
|
@@ -99,4 +99,3 @@ aoption = acontainer1.selectbox(
|
|
99 |
)
|
100 |
if acontainer2.button("Submit") == True:
|
101 |
asubmit(aparam={"aselected":aoption,"acontainer":acontainer3,"adataframe":adf,"acolumntitles":['Date','Celsius'],})
|
102 |
-
|
|
|
87 |
|
88 |
atrendproject = [20230223,]
|
89 |
st.write(lin.predict(np.array([atrendproject])))
|
90 |
+
st.dataframe(atrendproject.merge(lin.predict(np.array([atrendproject]))))
|
91 |
|
92 |
adf = pd.DataFrame(
|
93 |
astations,
|
|
|
99 |
)
|
100 |
if acontainer2.button("Submit") == True:
|
101 |
asubmit(aparam={"aselected":aoption,"acontainer":acontainer3,"adataframe":adf,"acolumntitles":['Date','Celsius'],})
|
|