Spaces:
Runtime error
Runtime error
Commit
·
980239c
1
Parent(s):
f336251
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,5 +9,6 @@ if uploaded_file is not None:
|
|
| 9 |
dataframe = pd.read_csv(uploaded_file)
|
| 10 |
st.write(dataframe)
|
| 11 |
series = st.text_input("Write the name of the variable you want to forecast")
|
| 12 |
-
|
| 13 |
-
|
|
|
|
|
|
| 9 |
dataframe = pd.read_csv(uploaded_file)
|
| 10 |
st.write(dataframe)
|
| 11 |
series = st.text_input("Write the name of the variable you want to forecast")
|
| 12 |
+
if series is not None:
|
| 13 |
+
fig = px.line(dataframe, x=dataframe.index,y=series, title=f'Forecasting {series}')
|
| 14 |
+
fig.show()
|