from fastapi import Depends, FastAPI, Header, HTTPException

from routers import audio

import os, sys

from fastapi_sqlalchemy import DBSessionMiddleware

from dotenv import load_dotenv

# this line is to connect to our base dir and connect to our .env file
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
load_dotenv(os.path.join(BASE_DIR, ".env"))

app = FastAPI()

app.add_middleware(DBSessionMiddleware, db_url=os.environ["DATABASE_URL"])

app.include_router(audio.router)

ea4571b4fb076e392a4f9492b51dc777980be7f7
<mask token>

<mask token>
load_dotenv(os.path.join(BASE_DIR, '.env'))
<mask token>
app.add_middleware(DBSessionMiddleware, db_url=os.environ['DATABASE_URL'])
app.include_router(audio.router)

<mask token>
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
load_dotenv(os.path.join(BASE_DIR, '.env'))
app = FastAPI()
app.add_middleware(DBSessionMiddleware, db_url=os.environ['DATABASE_URL'])
app.include_router(audio.router)

from fastapi import Depends, FastAPI, Header, HTTPException
from routers import audio
import os, sys
from fastapi_sqlalchemy import DBSessionMiddleware
from dotenv import load_dotenv
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
load_dotenv(os.path.join(BASE_DIR, '.env'))
app = FastAPI()
app.add_middleware(DBSessionMiddleware, db_url=os.environ['DATABASE_URL'])
app.include_router(audio.router)

from fastapi import Depends, FastAPI, Header, HTTPException

from routers import audio

import os, sys

from fastapi_sqlalchemy import DBSessionMiddleware

from dotenv import load_dotenv

# this line is to connect to our base dir and connect to our .env file
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
load_dotenv(os.path.join(BASE_DIR, ".env"))

app = FastAPI()

app.add_middleware(DBSessionMiddleware, db_url=os.environ["DATABASE_URL"])

app.include_router(audio.router)
