hertogateis commited on
Commit
1818b63
·
verified ·
1 Parent(s): 31de781

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -75,6 +75,10 @@ else:
75
  # Use TAPAS model to process the question
76
  result = tqa(table=df, query=question)
77
 
 
 
 
 
78
  # Check if TAPAS is returning the expected answer
79
  answer = result.get('answer', None)
80
  if answer:
 
75
  # Use TAPAS model to process the question
76
  result = tqa(table=df, query=question)
77
 
78
+ # Debugging: Output TAPAS raw response
79
+ st.write("TAPAS Raw Output:")
80
+ st.write(result) # Show the raw output from TAPAS
81
+
82
  # Check if TAPAS is returning the expected answer
83
  answer = result.get('answer', None)
84
  if answer: