sappuff commited on
Commit
b2764a5
·
verified ·
1 Parent(s): 608b8bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ data = {
12
  table = pd.DataFrame.from_dict(data)
13
 
14
  # tapex accepts uncased input since it is pre-trained on the uncased corpus
15
- query = "In which year did beijing host the Olympic Games?"
16
  encoding = tokenizer(table=table, query=query, return_tensors="pt")
17
 
18
  outputs = model.generate(**encoding)
 
12
  table = pd.DataFrame.from_dict(data)
13
 
14
  # tapex accepts uncased input since it is pre-trained on the uncased corpus
15
+ query = "how many different countries had election in 21st century?"
16
  encoding = tokenizer(table=table, query=query, return_tensors="pt")
17
 
18
  outputs = model.generate(**encoding)