Update app.py
Browse files
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 =
|
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
|