rohan598 commited on
Commit
163b0c8
·
verified ·
1 Parent(s): 1a1f92e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,7 +2,8 @@ import os
2
  import gradio as gr
3
  from datasets import load_dataset
4
 
5
- contextual_val = load_dataset('csv', data_files='contextual_val.csv')
 
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']