Spaces:
Runtime error
Runtime error
Commit
·
ce419f1
1
Parent(s):
953bf3d
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ ds = load_dataset(OUTPUTS_DATASET, split="train", use_auth_token=HF_TOKEN)
|
|
19 |
|
20 |
def process():
|
21 |
sample_ds = ds.shuffle().select(range(1))
|
22 |
-
|
23 |
|
24 |
|
25 |
df = pd.DataFrame.from_records(sample["filtered_outputs"])
|
|
|
19 |
|
20 |
def process():
|
21 |
sample_ds = ds.shuffle().select(range(1))
|
22 |
+
sample = sample_ds[0]
|
23 |
|
24 |
|
25 |
df = pd.DataFrame.from_records(sample["filtered_outputs"])
|