Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,8 @@ import os
|
|
2 |
import gradio as gr
|
3 |
from datasets import load_dataset
|
4 |
|
5 |
-
|
|
|
6 |
print(contextual_val)
|
7 |
|
8 |
data = contextual_val['val']
|
|
|
2 |
import gradio as gr
|
3 |
from datasets import load_dataset
|
4 |
|
5 |
+
val_data_files = {"val": "contextual_val.csv"}
|
6 |
+
contextual_val = load_dataset('csv', data_files=val_data_files)
|
7 |
print(contextual_val)
|
8 |
|
9 |
data = contextual_val['val']
|