noumanjavaid commited on
Commit
58e8885
β€’
1 Parent(s): 44dd814

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ import streamlit as st
76
  # %%
77
  from datasets import load_dataset, Audio
78
 
79
- dataset = load_dataset("PolyAI/minds14", "en-US", split="train")
80
 
81
  # %% [markdown]
82
  # **2**. Next, load a pretrained [Wav2Vec2](https://huggingface.co/facebook/wav2vec2-base) model and its corresponding feature extractor from the [πŸ€— Transformers](https://huggingface.co/transformers/) library. It is totally normal to see a warning after you load the model about some weights not being initialized. This is expected because you are loading this model checkpoint for training with another task.
 
76
  # %%
77
  from datasets import load_dataset, Audio
78
 
79
+ dataset = load_dataset("PolyAI/minds14", "en-US", split="train", trust_remote_code=True)
80
 
81
  # %% [markdown]
82
  # **2**. Next, load a pretrained [Wav2Vec2](https://huggingface.co/facebook/wav2vec2-base) model and its corresponding feature extractor from the [πŸ€— Transformers](https://huggingface.co/transformers/) library. It is totally normal to see a warning after you load the model about some weights not being initialized. This is expected because you are loading this model checkpoint for training with another task.