Remove dranches
This commit is contained in:
parent
9e31532d42
commit
7a2a970ac8
5
app.py
5
app.py
@ -1,14 +1,15 @@
|
|||||||
from fastapi import FastAPI, File, UploadFile
|
from fastapi import FastAPI, File, UploadFile
|
||||||
import tempfile
|
import tempfile
|
||||||
import os
|
import os
|
||||||
|
from fastapi import FastAPI
|
||||||
from fastapi.openapi.docs import get_swagger_ui_html
|
from fastapi.openapi.docs import get_swagger_ui_html
|
||||||
|
|
||||||
# Assuming Celery is already set up and imported correctly in the project.
|
# Assuming Celery is already set up and imported correctly in the project.
|
||||||
from tasks import delete_temp_file # Import your Celery task here.
|
from tasks import delete_temp_file # Import your Celery task here.
|
||||||
|
|
||||||
app = FastAPI(
|
app = FastAPI(
|
||||||
title="AI TIST API",
|
title="AITist API",
|
||||||
description="This is a simple API for AI TIST.",
|
description="This is a simple API for AI Tist.",
|
||||||
version="1.0.0",
|
version="1.0.0",
|
||||||
docs_url="/docs", # Enable Swagger UI
|
docs_url="/docs", # Enable Swagger UI
|
||||||
)
|
)
|
||||||
|
|||||||
@ -3,11 +3,15 @@ name = "aitist"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description = "A new Python project managed by Poetry."
|
description = "A new Python project managed by Poetry."
|
||||||
authors = ["Timothy Farrell <tim@thecookiejar.me>"]
|
authors = ["Timothy Farrell <tim@thecookiejar.me>"]
|
||||||
|
package-mode = false
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.11"
|
python = "^3.11"
|
||||||
fastapi = "^0.75.2"
|
fastapi = "^0.111.1"
|
||||||
uvicorn = {extras = ["standard"], version = "^0.17.6"}
|
uvicorn = {extras = ["standard"], version = "^0.17.6"}
|
||||||
|
celery = "^5.4.0"
|
||||||
|
pydantic = "^2.8.2"
|
||||||
|
pyannote-audio = "^3.3.1"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core>=1.0.0"]
|
requires = ["poetry-core>=1.0.0"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user