voice-clone / texttovoice /minio_utils.py
renator's picture
update minio bucket
df4965a
raw
history blame
286 Bytes
# minio_utils.py
from minio import Minio
from django.conf import settings
def get_minio_client():
return Minio(
settings.MINIO_ENDPOINT,
access_key=settings.MINIO_ACCESS_KEY,
secret_key=settings.MINIO_SECRET_KEY,
secure=settings.MINIO_SECURE
)