diff --git a/anatomy/views.py b/anatomy/views.py index 8c083a21..092c4133 100644 --- a/anatomy/views.py +++ b/anatomy/views.py @@ -52,8 +52,6 @@ from django_filters.views import FilterView from collections import defaultdict import os -import base64 -import mimetypes import json import statistics import plotly.express as px diff --git a/helpers/images.py b/helpers/images.py index bad07355..7bea4e8f 100644 --- a/helpers/images.py +++ b/helpers/images.py @@ -1,3 +1,5 @@ +import base64 +import mimetypes def image_as_base64(image_file): """