Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,3 +42,18 @@ if uploaded_file is not None:
|
|
42 |
plt.legend()
|
43 |
|
44 |
st.pyplot(fig)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
plt.legend()
|
43 |
|
44 |
st.pyplot(fig)
|
45 |
+
|
46 |
+
# Create a plot with Matplotlib and display it in Streamlit app
|
47 |
+
fig2, ax2 = plt.subplots()
|
48 |
+
|
49 |
+
ax2.plot(df.index, df['value'], label='Original')
|
50 |
+
|
51 |
+
prediction_index = pd.date_range(start=df.index[-1], periods=11)[1:]
|
52 |
+
|
53 |
+
# ax2.plot(prediction_index, predictions, label='Predicted')
|
54 |
+
|
55 |
+
plt2.title('Value vs Timestamp original only')
|
56 |
+
|
57 |
+
plt2.legend()
|
58 |
+
|
59 |
+
st.pyplot(fig2)
|