Set default file upload URL

Hello,

I’m trying to set up a default url that contains a data set similar to this:

But the solution provided is not working for me. I am getting indent and syntax errors when I add the code to my app.

Is there any other solution?

Thanks

Solved it like this:

uploaded_file = st.file_uploader("Agrega base de datos de Wyscout")

if uploaded_file is not None:
    df = pd.read_excel(uploaded_file)
else:
    df = load_data()
1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.