tykiww commited on
Commit
c507e0b
·
verified ·
1 Parent(s): eab212d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def get_predefined_dataset(dataset_name):
45
  return dataset
46
 
47
 
48
- def get_uploaded_dataset():
49
  with open(file.name, 'r') as f:
50
  content = f.read()
51
  return content[0:100]
 
45
  return dataset
46
 
47
 
48
+ def get_uploaded_dataset(file):
49
  with open(file.name, 'r') as f:
50
  content = f.read()
51
  return content[0:100]