From f7cf45dfde98c9ecf3413a74340f03deab3b1cde Mon Sep 17 00:00:00 2001 From: Miquel Farre Date: Thu, 14 Nov 2024 11:54:10 +0000 Subject: [PATCH] fix --- server/text_generation_server/models/vlm_causal_lm.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/text_generation_server/models/vlm_causal_lm.py b/server/text_generation_server/models/vlm_causal_lm.py index 2ffda493..5f788085 100644 --- a/server/text_generation_server/models/vlm_causal_lm.py +++ b/server/text_generation_server/models/vlm_causal_lm.py @@ -1,9 +1,12 @@ +import os import torch +import tempfile import requests from PIL import Image from io import BytesIO from contextlib import contextmanager + from opentelemetry import trace from typing import Iterable, Optional, Tuple, List, Type, Dict