forked from knowsuchagency/pdf-to-podcast
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ccc321b
commit aba3934
Showing
6 changed files
with
1,687 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
FROM python:3.12-slim | ||
|
||
WORKDIR /app | ||
|
||
RUN pip install uv | ||
RUN uv venv | ||
|
||
COPY requirements.txt . | ||
RUN uv pip install -r requirements.txt | ||
COPY pyproject.toml uv.lock ./ | ||
RUN uv sync | ||
|
||
COPY . . | ||
|
||
CMD .venv/bin/granian --interface asgi --port 8080 --host 0.0.0.0 main:app | ||
CMD uv run granian --interface asgi --port 8000 --host 0.0.0.0 main:app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[project] | ||
name = "pdf-to-podcast" | ||
version = "0.1.0" | ||
description = "Add your description here" | ||
readme = "README.md" | ||
requires-python = ">=3.12" | ||
dependencies = [ | ||
"google-generativeai>=0.8.3", | ||
"gradio>=5.1.0", | ||
"granian>=1.6.1", | ||
"loguru>=0.7.2", | ||
"promptic>=0.7.7", | ||
"pydantic>=2.9.2", | ||
"pypdf>=5.0.1", | ||
"sentry-sdk>=2.16.0", | ||
"tenacity>=9.0.0", | ||
] |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.