Remove dranches

This commit is contained in:
Timothy Farrell 2024-08-04 11:14:17 -05:00
parent 9e31532d42
commit 7a2a970ac8
3 changed files with 8 additions and 3 deletions

5
app.py
View File

@ -1,14 +1,15 @@
from fastapi import FastAPI, File, UploadFile
import tempfile
import os
from fastapi import FastAPI
from fastapi.openapi.docs import get_swagger_ui_html
# Assuming Celery is already set up and imported correctly in the project.
from tasks import delete_temp_file # Import your Celery task here.
app = FastAPI(
title="AI TIST API",
description="This is a simple API for AI TIST.",
title="AITist API",
description="This is a simple API for AI Tist.",
version="1.0.0",
docs_url="/docs", # Enable Swagger UI
)

View File

@ -3,11 +3,15 @@ name = "aitist"
version = "0.1.0"
description = "A new Python project managed by Poetry."
authors = ["Timothy Farrell <tim@thecookiejar.me>"]
package-mode = false
[tool.poetry.dependencies]
python = "^3.11"
fastapi = "^0.75.2"
fastapi = "^0.111.1"
uvicorn = {extras = ["standard"], version = "^0.17.6"}
celery = "^5.4.0"
pydantic = "^2.8.2"
pyannote-audio = "^3.3.1"
[build-system]
requires = ["poetry-core>=1.0.0"]