Aditya-1911 commited on
Commit
d1ff0f5
·
verified ·
1 Parent(s): 3c57f15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ if uploaded_file:
16
  if file_ext==".csv":
17
  df = pd.read_csv(file)
18
  if file_ext==".xlsx":
19
- df = pd.read_csv(file)
20
  else:
21
  print(f"The file you have entered is = {file} is not in the accepted format")
22
  continue
 
16
  if file_ext==".csv":
17
  df = pd.read_csv(file)
18
  if file_ext==".xlsx":
19
+ df = pd.read_excel(file)
20
  else:
21
  print(f"The file you have entered is = {file} is not in the accepted format")
22
  continue