deepkansara-123 commited on
Commit
26e031f
·
verified ·
1 Parent(s): 30f87cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def generate_qa(token):
60
  if not row:
61
  return "❌ No data found for this token."
62
 
63
- chunks = json.loads(row[0])
64
  qa_pairs = []
65
 
66
  for i, chunk in enumerate(chunks):
 
60
  if not row:
61
  return "❌ No data found for this token."
62
 
63
+ chunks = json.loads(row['chunk_data'])
64
  qa_pairs = []
65
 
66
  for i, chunk in enumerate(chunks):