Spaces:
Build error
Build error
Commit
·
3a49d30
1
Parent(s):
515be2e
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,6 +32,8 @@ def ask_llm_chunk(chunk, questions):
|
|
| 32 |
if len(coordinates) == 1:
|
| 33 |
row, col = coordinates[0]
|
| 34 |
try:
|
|
|
|
|
|
|
| 35 |
st.write(f"Trying to access row {row}, col {col}") # Debugging line
|
| 36 |
value = chunk.iloc[row, col]
|
| 37 |
if isinstance(value, pd.Series):
|
|
|
|
| 32 |
if len(coordinates) == 1:
|
| 33 |
row, col = coordinates[0]
|
| 34 |
try:
|
| 35 |
+
st.write(f"DataFrame shape: {chunk.shape}") # Debugging line
|
| 36 |
+
st.write(f"DataFrame columns: {chunk.columns}") # Debugging line
|
| 37 |
st.write(f"Trying to access row {row}, col {col}") # Debugging line
|
| 38 |
value = chunk.iloc[row, col]
|
| 39 |
if isinstance(value, pd.Series):
|