Add python-dotenv
This commit is contained in:
3
main.py
3
main.py
@ -6,9 +6,12 @@ from datetime import datetime
|
||||
from pathlib import Path
|
||||
|
||||
import ffmpeg
|
||||
from dotenv import load_dotenv
|
||||
from fastapi import FastAPI, File, UploadFile
|
||||
from fastapi.responses import HTMLResponse
|
||||
|
||||
load_dotenv()
|
||||
|
||||
app = FastAPI(
|
||||
title="discord-nice-embed",
|
||||
description="""
|
||||
|
2
poetry.lock
generated
2
poetry.lock
generated
@ -920,7 +920,7 @@ python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7"
|
||||
[metadata]
|
||||
lock-version = "1.1"
|
||||
python-versions = "^3.9"
|
||||
content-hash = "f3f9556e272543ee70bb1d4b583b9cbd6b89010d67667776f1db66e26475f198"
|
||||
content-hash = "6653c39cef437f690adbf0fb6e35e843fb6837464edb261a0978557ff629937a"
|
||||
|
||||
[metadata.files]
|
||||
anyio = [
|
||||
|
@ -15,6 +15,7 @@ fastapi = { extras = ["all"], version = "^0.70.0" }
|
||||
ffmpeg-python = "^0.2.0"
|
||||
gunicorn = "^20.1.0"
|
||||
uvicorn = "^0.15.0"
|
||||
python-dotenv = "^0.19.2"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
pytest = "^5.2"
|
||||
|
Reference in New Issue
Block a user