This commit is contained in:
Miquel Farre 2024-11-14 11:54:10 +00:00 committed by drbh
parent b9c8152ac6
commit 464609fd43

View File

@ -1,9 +1,12 @@
import os
import torch import torch
import tempfile
import requests import requests
from PIL import Image from PIL import Image
from io import BytesIO from io import BytesIO
from contextlib import contextmanager from contextlib import contextmanager
from opentelemetry import trace from opentelemetry import trace
from typing import Iterable, Optional, Tuple, List, Type, Dict from typing import Iterable, Optional, Tuple, List, Type, Dict