Circhastic commited on
Commit
0d0d62b
1 Parent(s): 4de408f
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -170,7 +170,6 @@ model_name = "google/tapas-large-finetuned-wtq"
170
  tokenizer = TapasTokenizer.from_pretrained(model_name)
171
  model = TapasForQuestionAnswering.from_pretrained(model_name, local_files_only=False)
172
 
173
- @st.cache(show_spinner=False)
174
  def load_tapas_model(model, tokenizer):
175
  pipe = pipeline("table-question-answering", model=model, tokenizer=tokenizer)
176
  return pipe
 
170
  tokenizer = TapasTokenizer.from_pretrained(model_name)
171
  model = TapasForQuestionAnswering.from_pretrained(model_name, local_files_only=False)
172
 
 
173
  def load_tapas_model(model, tokenizer):
174
  pipe = pipeline("table-question-answering", model=model, tokenizer=tokenizer)
175
  return pipe