fkalpana commited on
Commit
9b65c50
Β·
verified Β·
1 Parent(s): fc83495

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -7,6 +7,9 @@ tokenizer = T5Tokenizer.from_pretrained('t5-small', legacy=False)
7
  model = T5ForConditionalGeneration.from_pretrained('t5-small')
8
 
9
  dataset = load_dataset("wikisql", split='test')
 
 
 
10
  for i in range(3): # Let's take the first 3 examples
11
  item = dataset[i]
12
  question = item['question']
 
7
  model = T5ForConditionalGeneration.from_pretrained('t5-small')
8
 
9
  dataset = load_dataset("wikisql", split='test')
10
+
11
+ examples = []
12
+
13
  for i in range(3): # Let's take the first 3 examples
14
  item = dataset[i]
15
  question = item['question']