Spaces:
Runtime error
Runtime error
| import streamlit as st | |
| import numpy as np | |
| import pandas as pd | |
| import plotly.express as px | |
| uploaded_file = st.file_uploader("Choose a CSV file", accept_multiple_files=False) | |
| series = st.text_input("Write the name of the variable you want to forecast") | |
| bytes_data = uploaded_file.read() | |
| st.write("filename:", uploaded_file.name) | |
| st.write(bytes_data) | |
| df = pd.read_csv(uploaded_file.name) | |
| st.dataframe(df) | |