Spaces:
Runtime error
Runtime error
yusyel
commited on
Commit
·
df42c7c
1
Parent(s):
2cc6c6f
type
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ dataset_val = keras.preprocessing.timeseries_dataset_from_array(
|
|
150 |
#%%
|
151 |
model = from_pretrained_keras("keras-io/timeseries_forecasting_for_weather")
|
152 |
|
153 |
-
#%%
|
154 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
155 |
def plot():
|
156 |
n = st.sidebar.slider("Step", min_value = 1, max_value=5, value = 1)
|
@@ -188,3 +188,5 @@ fig = plot()
|
|
188 |
st.pyplot(fig)
|
189 |
|
190 |
# %%
|
|
|
|
|
|
150 |
#%%
|
151 |
model = from_pretrained_keras("keras-io/timeseries_forecasting_for_weather")
|
152 |
|
153 |
+
#%%
|
154 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
155 |
def plot():
|
156 |
n = st.sidebar.slider("Step", min_value = 1, max_value=5, value = 1)
|
|
|
188 |
st.pyplot(fig)
|
189 |
|
190 |
# %%
|
191 |
+
title = "Timeseries forecasting for weather prediction"
|
192 |
+
description = "Demonstrates how to do timeseries forecasting using a <a href=\"https://keras.io/api/layers/recurrent_layers/lstm/#lstm-class.\">LTSM Model</a> <p><b>Space author: Harshavardhan</b> <br><b> Keras example author: <a href=\"https://keras.io/examples/timeseries/timeseries_weather_forecasting/\"> Prabhanshu Attri, Yashika Sharma, Kristi Takach, Falak Shah </a> </b> <br> <a href=\"https://keras.io/examples/timeseries/timeseries_weather_forecasting/\">Keras example</a> </p>"
|