Bronco92 commited on
Commit
dd9e773
1 Parent(s): b3f9249

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import AutoTokenizer, AutoModelForTableQuestionAnswering
4
 
5
  # Replace with your actual Hugging Face API key
6
  model_name = "neulab/omnitab-large-finetuned-wtq"
7
- tokenizer = AutoTokenizer.from_pretrained(model_name)
8
  model = AutoModelForTableQuestionAnswering.from_pretrained(model_name)
9
 
10
  # Define the question-answering function
 
4
 
5
  # Replace with your actual Hugging Face API key
6
  model_name = "neulab/omnitab-large-finetuned-wtq"
7
+ tokenizer = TapexTokenizer
8
  model = AutoModelForTableQuestionAnswering.from_pretrained(model_name)
9
 
10
  # Define the question-answering function