The following code contains an error. Can you find out what it is?
import streamlit as st
import pandas as pd
# Title of the app
st.title("Data Dashboard")
# File uploader
uploaded_file = st.file_uploader(label="Choose a CSV file", "csv")
if uploaded_file is not None:
# Read the CSV file
df = pd.read_csv(uploaded_file)
uploaded_file = st.file_uploader(label="Choolse a csv file", type="csv"). need to specify 'type="csv"'.