wt002 commited on
Commit
850193d
·
verified ·
1 Parent(s): b034ca7

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -373,7 +373,7 @@ def reverse_text(text: str) -> str:
373
  return text[::-1].replace("\\", "") # Handle escaped quotes
374
 
375
  # Load the JSON file
376
- with open("https://huggingface.co/spaces/wt002/Final_Assignment_Project/blob/main/questions.json", "r", encoding="utf-8") as f:
377
  data = json.load(f)
378
 
379
  # Convert each question into a Document
 
373
  return text[::-1].replace("\\", "") # Handle escaped quotes
374
 
375
  # Load the JSON file
376
+ with open("questions.json", "r", encoding="utf-8") as f:
377
  data = json.load(f)
378
 
379
  # Convert each question into a Document