mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-28 04:04:31 +00:00
update after running ruff check --ffix
This commit is contained in:
parent
639a4470a5
commit
d78ee3182d
4 changed files with 7 additions and 9 deletions
|
@ -1,12 +1,13 @@
|
|||
from typing import Optional, Union, List, Dict, Any
|
||||
from PIL import Image
|
||||
from typing import Optional, Union, List, Dict
|
||||
|
||||
import io
|
||||
import base64
|
||||
import time
|
||||
|
||||
try:
|
||||
from PIL import Image
|
||||
from diffusers import StableDiffusionPipeline
|
||||
except:
|
||||
except ModuleNotFoundError:
|
||||
pass
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
|
|
@ -1,16 +1,14 @@
|
|||
from typing import Any, Coroutine, Optional, Union, Dict, List
|
||||
from pathlib import Path
|
||||
import logging
|
||||
|
||||
try:
|
||||
from dataclasses import dataclass
|
||||
import torch
|
||||
from diffusers import DiffusionPipeline, UNet2DConditionModel
|
||||
from diffusers import UNet2DConditionModel
|
||||
from diffusers.optimization import get_scheduler
|
||||
from transformers import CLIPTextModel, CLIPTokenizer
|
||||
except:
|
||||
pass
|
||||
import httpx
|
||||
|
||||
verbose_logger = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
from typing import Optional, Union
|
||||
from typing import Union
|
||||
from PIL import Image
|
||||
import io
|
||||
import base64
|
||||
import time
|
||||
|
||||
try:
|
||||
from diffusers import StableDiffusionPipeline
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from typing import Any, List, Optional, Union
|
||||
from typing import Any, List, Optional
|
||||
from PIL import Image
|
||||
import io
|
||||
import base64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue