TrungNQ commited on
Commit
c0cf0b0
·
verified ·
1 Parent(s): f16d74c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -188,6 +188,6 @@ grad.Interface(fn=converse,
188
  '''
189
 
190
  from datasets import list_datasets
191
- all_datasets = list_datasets()
192
  print(f"There are {len(all_datasets)} datasets currently available on the Hub")
193
  print(f"The first 10 are: {all_datasets[:10]}")
 
188
  '''
189
 
190
  from datasets import list_datasets
191
+ all_datasets = huggingface_hub.list_datasets()
192
  print(f"There are {len(all_datasets)} datasets currently available on the Hub")
193
  print(f"The first 10 are: {all_datasets[:10]}")