imurra commited on
Commit
249c206
·
verified ·
1 Parent(s): 9ef5e84

to see raw question

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -36,6 +36,11 @@ def ui_search(query, num_results=3):
36
  # Get the full question text
37
  question_text = r['documents'][0][i]
38
 
 
 
 
 
 
39
  # Parse question and answer choices
40
  import re
41
  # Look for answer choices pattern (A. or A) followed by text)
 
36
  # Get the full question text
37
  question_text = r['documents'][0][i]
38
 
39
+ # DEBUG: Show raw text
40
+ out += "DEBUG RAW TEXT:\n"
41
+ out += repr(question_text[:500]) + "\n"
42
+ out += "="*60 + "\n\n"
43
+
44
  # Parse question and answer choices
45
  import re
46
  # Look for answer choices pattern (A. or A) followed by text)