fschwartzer commited on
Commit
d95d32d
·
verified ·
1 Parent(s): 378a4bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def load_data(uploaded_file):
68
  return df
69
 
70
  def preprocess_data(df):
71
- if uploaded_file.name.endswith('.csv'):
72
  df = pd.read_csv(uploaded_file, quotechar='"', encoding='utf-8')
73
  elif uploaded_file.name.endswith('.xlsx'):
74
  df = pd.read_excel(uploaded_file)
 
68
  return df
69
 
70
  def preprocess_data(df):
71
+ if uploaded_file.name.endswith('.csv'):
72
  df = pd.read_csv(uploaded_file, quotechar='"', encoding='utf-8')
73
  elif uploaded_file.name.endswith('.xlsx'):
74
  df = pd.read_excel(uploaded_file)