SunilMahi commited on
Commit
a939945
·
verified ·
1 Parent(s): 5690b37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -9,6 +9,8 @@ logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(levelname)s - %(
9
  qa_pipeline = pipeline("table-question-answering", model="google/tapas-large-finetuned-wtq")
10
 
11
  def ask_table(data, question):
 
 
12
  try:
13
  if not data or not question:
14
  return {"answer": "Please provide both a table and a question."}
 
9
  qa_pipeline = pipeline("table-question-answering", model="google/tapas-large-finetuned-wtq")
10
 
11
  def ask_table(data, question):
12
+ logging.info(f"Received Data: {data}")
13
+ logging.info(f"Received Question: {question}")
14
  try:
15
  if not data or not question:
16
  return {"answer": "Please provide both a table and a question."}