diff --git a/ai/views.py b/ai/views.py index f3f4d59..43df6ae 100644 --- a/ai/views.py +++ b/ai/views.py @@ -1,4 +1,5 @@ from anyio import sleep +from urllib.parse import unquote from django.http import JsonResponse from django.utils.timezone import make_aware, utc from django.db.models import Q @@ -146,6 +147,7 @@ def report(request): 'ai_count_total': ai_count_total, 'real_count_detail': real_count_detail, 'real_count_total': real_count_total, + 'report': unquote(json.loads(last_ai_data.result).get('report', '')) } } print(result_dict)