Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def create_conversation(sample):
|
|
57 |
}
|
58 |
|
59 |
def download_dataset(dataset):
|
60 |
-
dataset = load_dataset(
|
61 |
dataset = dataset.shuffle().select(range(12500))
|
62 |
|
63 |
# Convert dataset to OAI messages
|
|
|
57 |
}
|
58 |
|
59 |
def download_dataset(dataset):
|
60 |
+
dataset = load_dataset(dataset, split="train")
|
61 |
dataset = dataset.shuffle().select(range(12500))
|
62 |
|
63 |
# Convert dataset to OAI messages
|