Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,10 +2,10 @@ import os
|
|
2 |
import gradio as gr
|
3 |
from datasets import load_dataset
|
4 |
|
5 |
-
|
6 |
-
print(
|
7 |
|
8 |
-
data =
|
9 |
print(data[0])
|
10 |
|
11 |
df = data.to_pandas()
|
|
|
2 |
import gradio as gr
|
3 |
from datasets import load_dataset
|
4 |
|
5 |
+
contextual_test = load_dataset('csv', data_files='contextual_test.csv')
|
6 |
+
print(contextual_test)
|
7 |
|
8 |
+
data = contextual_test['test']
|
9 |
print(data[0])
|
10 |
|
11 |
df = data.to_pandas()
|