- Deleted js/ directory (no JavaScript needed) - Deleted utils/model_manager.py (no model caching) - Deleted data/ directory (no cache storage) - Removed WEB_DIRECTORY from __init__.py - Simplified main.py (removed all server routes) - Users manually enter model names as STRING fields - Cleaner, simpler implementation
19 lines
338 B
Python
19 lines
338 B
Python
"""Utility modules for OpenAI-compatible API integration"""
|
|
|
|
from .api_client import OpenAIAPIClient
|
|
from .converters import (
|
|
image_to_base64,
|
|
base64_to_tensor,
|
|
url_to_tensor,
|
|
tensor_to_pil,
|
|
)
|
|
|
|
__all__ = [
|
|
"OpenAIAPIClient",
|
|
"image_to_base64",
|
|
"base64_to_tensor",
|
|
"url_to_tensor",
|
|
"tensor_to_pil",
|
|
]
|
|
|