aniudupa commited on
Commit
1f93c79
·
verified ·
1 Parent(s): 1b5f5ec

Update app/fir_pdf_gen.py

Browse files
Files changed (1) hide show
  1. app/fir_pdf_gen.py +1 -1
app/fir_pdf_gen.py CHANGED
@@ -83,7 +83,7 @@ async def get_lawgpt_response(description_offense: str) -> str:
83
  """
84
  Sends the description_offense to an external service and retrieves the response.
85
  """
86
- url = "https://aniudupa-ani.hf.space/chat/" # Replace with the actual URL
87
  try:
88
  # Construct the question to send to the LawGPT service
89
  question = f"Based on this incident: '{description_offense}', please provide a concise description of the offense, including the sections of the Indian Penal Code that apply."
 
83
  """
84
  Sends the description_offense to an external service and retrieves the response.
85
  """
86
+ url = "https://aniudupa-fir-gen.hf.space/lawgpt/chat/" # Replace with the actual URL
87
  try:
88
  # Construct the question to send to the LawGPT service
89
  question = f"Based on this incident: '{description_offense}', please provide a concise description of the offense, including the sections of the Indian Penal Code that apply."