Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
613 B
4
Indexable
Never
from __future__ import annotations
from app.core.util import encode_image
import google
from google.cloud import texttospeech
from fastapi import APIRouter, UploadFile, Form, File, Depends

from app.apis.api_a.mainmod import main_func as main_func_a
from app.apis.api_b.mainmod import main_func as main_func_b
from app.core.auth import get_current_user

import base64
import vertexai
from vertexai.preview.generative_models import GenerativeModel, Part
import vertexai.preview.generative_models as generative_models
import os


os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = 'audio-cred.json'

Leave a Comment