Aniruddh commited on
Commit
439c95b
·
1 Parent(s): a1c083f

llm.py changes

Browse files
Files changed (1) hide show
  1. backend/routes/llm.py +2 -1
backend/routes/llm.py CHANGED
@@ -66,7 +66,6 @@ def generate_info_from_llm(text: str) -> str:
66
 
67
 
68
  @router.post("/generate_info")
69
- print('generate info called -- ')
70
  async def generate_info_endpoint(request: LLMRequest):
71
  """
72
  FastAPI endpoint to generate simplified information from user text.
@@ -76,6 +75,8 @@ async def generate_info_endpoint(request: LLMRequest):
76
  2. Pass the content to the `generate_info_from_llm` function.
77
  3. Return the simplified explanation in JSON format.
78
  """
 
 
79
  try:
80
  info = generate_info_from_llm(request.content)
81
  return {"info": info}
 
66
 
67
 
68
  @router.post("/generate_info")
 
69
  async def generate_info_endpoint(request: LLMRequest):
70
  """
71
  FastAPI endpoint to generate simplified information from user text.
 
75
  2. Pass the content to the `generate_info_from_llm` function.
76
  3. Return the simplified explanation in JSON format.
77
  """
78
+ print('generate info called -- ')
79
+
80
  try:
81
  info = generate_info_from_llm(request.content)
82
  return {"info": info}