Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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]
|