Toumaima commited on
Commit
1df8f1e
·
verified ·
1 Parent(s): 6f4eefa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -33,9 +33,9 @@ class BasicAgent:
33
 
34
 
35
  @app.get("/questions")
36
- def get_questions():
37
- with open("questions.json", "r") as f:
38
- return JSONResponse(content=json.load(f))
39
 
40
  def format_final_answer(self, answer: str) -> str:
41
  cleaned = " ".join(answer.split())
 
33
 
34
 
35
  @app.get("/questions")
36
+ def get_questions():
37
+ with open("questions.json", "r") as f:
38
+ return JSONResponse(content=json.load(f))
39
 
40
  def format_final_answer(self, answer: str) -> str:
41
  cleaned = " ".join(answer.split())