Spaces:
Runtime error
Runtime error
bug fix
Browse files
app.py
CHANGED
@@ -90,6 +90,8 @@ st.markdown(body = """
|
|
90 |
scenarios. On a variety of real-world datasets, we demonstrate significant per-
|
91 |
formance improvements over existing benchmarks, and showcase three practical
|
92 |
interpretability use cases of TFT.
|
|
|
|
|
93 |
""")
|
94 |
|
95 |
rain = st.radio("Rain Indicator", ('Default', 'Yes', 'No'))
|
@@ -116,6 +118,10 @@ axs[1, 1].set_title('Article Group 4')
|
|
116 |
# Adjust spacing between subplots
|
117 |
plt.tight_layout()
|
118 |
|
|
|
|
|
|
|
|
|
119 |
st.pyplot(fig)
|
120 |
|
121 |
st.button("Forecast Sales", type="primary") #on_click=None,
|
|
|
90 |
scenarios. On a variety of real-world datasets, we demonstrate significant per-
|
91 |
formance improvements over existing benchmarks, and showcase three practical
|
92 |
interpretability use cases of TFT.
|
93 |
+
|
94 |
+
### Experiments
|
95 |
""")
|
96 |
|
97 |
rain = st.radio("Rain Indicator", ('Default', 'Yes', 'No'))
|
|
|
118 |
# Adjust spacing between subplots
|
119 |
plt.tight_layout()
|
120 |
|
121 |
+
for ax in axs.flat:
|
122 |
+
ax.set_xlim(df['Date'].min(), df['Date'].max())
|
123 |
+
ax.set_ylim(df['Sales'].min(), df['sales'].max())
|
124 |
+
|
125 |
st.pyplot(fig)
|
126 |
|
127 |
st.button("Forecast Sales", type="primary") #on_click=None,
|