jethrovic commited on
Commit
6b411e2
·
1 Parent(s): 1a08f8d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -27,6 +27,7 @@ if uploaded_file is not None and question:
27
 
28
  # Convert DataFrame to the format expected by TAPAS
29
  table_data = table.to_csv(index=False)
 
30
 
31
  # Get answer
32
  answer = tqa(table=table_data, query=question)['cells'][0]
 
27
 
28
  # Convert DataFrame to the format expected by TAPAS
29
  table_data = table.to_csv(index=False)
30
+ st.write(type(table_data))
31
 
32
  # Get answer
33
  answer = tqa(table=table_data, query=question)['cells'][0]