Saim-11 commited on
Commit
e3ea6f4
·
verified ·
1 Parent(s): 447bcdf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ if user_input:
34
  # ✅ Real response from your logic
35
  try:
36
  response = get_legal_response(user_input)
37
- response = response['title'] + '\n' + response['article_number'] + '\n' + response['answer']
38
  except Exception as e:
39
  response = f"Sorry, I encountered an error: {str(e)}"
40
 
 
34
  # ✅ Real response from your logic
35
  try:
36
  response = get_legal_response(user_input)
37
+ response = '\n'.join([response['title'], response['article_number'], response['answer']])
38
  except Exception as e:
39
  response = f"Sorry, I encountered an error: {str(e)}"
40