hertogateis commited on
Commit
379de3e
·
verified ·
1 Parent(s): a670d11

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -73,8 +73,12 @@ else:
73
  result = tqa(table=df, query=question)
74
 
75
  # Debugging: Output TAPAS raw response
76
- st.write("TAPAS Raw Output:")
77
  st.write(result) # Show the raw output from TAPAS
 
 
 
 
78
 
79
  # Check if TAPAS is returning the expected answer
80
  answer = result.get('answer', None)
 
73
  result = tqa(table=df, query=question)
74
 
75
  # Debugging: Output TAPAS raw response
76
+ st.write("TAPAS Raw Output (Response):")
77
  st.write(result) # Show the raw output from TAPAS
78
+
79
+ # Optionally, you can output the raw output as plain text:
80
+ st.text("Raw TAPAS Output (Plain Text):")
81
+ st.text(str(result)) # Show raw output as plain text
82
 
83
  # Check if TAPAS is returning the expected answer
84
  answer = result.get('answer', None)