Spaces:
Runtime error
Runtime error
Commit
·
5965351
1
Parent(s):
76887e4
Dockerfile
Browse files- Dockerfile +16 -0
- requirements.txt +96 -0
Dockerfile
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
| 2 |
+
# you will also find guides on how best to write your Dockerfile
|
| 3 |
+
|
| 4 |
+
FROM python:3.9
|
| 5 |
+
|
| 6 |
+
RUN useradd -m -u 1000 user
|
| 7 |
+
USER user
|
| 8 |
+
ENV PATH="/home/user/.local/bin:$PATH"
|
| 9 |
+
|
| 10 |
+
WORKDIR /app
|
| 11 |
+
|
| 12 |
+
COPY --chown=user ./requirements.txt requirements.txt
|
| 13 |
+
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 14 |
+
|
| 15 |
+
COPY --chown=user . /app
|
| 16 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
requirements.txt
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
aiofiles==24.1.0
|
| 2 |
+
aiohappyeyeballs==2.6.1
|
| 3 |
+
aiohttp==3.11.18
|
| 4 |
+
aiosignal==1.3.2
|
| 5 |
+
annotated-types==0.7.0
|
| 6 |
+
anyio==4.9.0
|
| 7 |
+
async-timeout==5.0.1
|
| 8 |
+
attrs==25.3.0
|
| 9 |
+
beautifulsoup4==4.13.4
|
| 10 |
+
certifi==2025.1.31
|
| 11 |
+
charset-normalizer==3.4.1
|
| 12 |
+
click==8.1.8
|
| 13 |
+
distro==1.9.0
|
| 14 |
+
duckduckgo-search==8.0.1
|
| 15 |
+
exceptiongroup==1.2.2
|
| 16 |
+
fastapi==0.115.12
|
| 17 |
+
ffmpy==0.5.0
|
| 18 |
+
filelock==3.18.0
|
| 19 |
+
frozenlist==1.6.0
|
| 20 |
+
fsspec==2025.3.2
|
| 21 |
+
fuzzywuzzy==0.18.0
|
| 22 |
+
gradio==5.27.0
|
| 23 |
+
gradio-client==1.9.0
|
| 24 |
+
groovy==0.1.2
|
| 25 |
+
h11==0.16.0
|
| 26 |
+
httpcore==1.0.9
|
| 27 |
+
httpx==0.28.1
|
| 28 |
+
huggingface-hub==0.30.2
|
| 29 |
+
idna==3.10
|
| 30 |
+
importlib-metadata==8.6.1
|
| 31 |
+
jinja2==3.1.6
|
| 32 |
+
jiter==0.9.0
|
| 33 |
+
jsonschema==4.23.0
|
| 34 |
+
jsonschema-specifications==2025.4.1
|
| 35 |
+
langsmith==0.3.34
|
| 36 |
+
levenshtein==0.27.1
|
| 37 |
+
linkify-it-py==2.0.3
|
| 38 |
+
litellm==1.67.2
|
| 39 |
+
lxml==5.4.0
|
| 40 |
+
markdown-it-py==3.0.0
|
| 41 |
+
markdownify==1.1.0
|
| 42 |
+
markupsafe==3.0.2
|
| 43 |
+
mdit-py-plugins==0.4.2
|
| 44 |
+
mdurl==0.1.2
|
| 45 |
+
multidict==6.4.3
|
| 46 |
+
numpy==2.2.5
|
| 47 |
+
openai==1.76.0
|
| 48 |
+
orjson==3.10.16
|
| 49 |
+
packaging==25.0
|
| 50 |
+
pandas==2.2.3
|
| 51 |
+
pillow==11.2.1
|
| 52 |
+
platformdirs==4.3.7
|
| 53 |
+
primp==0.15.0
|
| 54 |
+
propcache==0.3.1
|
| 55 |
+
pydantic==2.11.3
|
| 56 |
+
pydantic-core==2.33.1
|
| 57 |
+
pydub==0.25.1
|
| 58 |
+
pygments==2.19.1
|
| 59 |
+
python-dateutil==2.9.0.post0
|
| 60 |
+
python-dotenv==1.1.0
|
| 61 |
+
python-levenshtein==0.27.1
|
| 62 |
+
python-multipart==0.0.20
|
| 63 |
+
pytz==2025.2
|
| 64 |
+
pyyaml==6.0.2
|
| 65 |
+
rapidfuzz==3.13.0
|
| 66 |
+
referencing==0.36.2
|
| 67 |
+
regex==2024.11.6
|
| 68 |
+
requests==2.32.3
|
| 69 |
+
requests-toolbelt==1.0.0
|
| 70 |
+
rich==14.0.0
|
| 71 |
+
rpds-py==0.24.0
|
| 72 |
+
ruff==0.11.7
|
| 73 |
+
safehttpx==0.1.6
|
| 74 |
+
semantic-version==2.10.0
|
| 75 |
+
shellingham==1.5.4
|
| 76 |
+
six==1.17.0
|
| 77 |
+
smolagents==1.14.0
|
| 78 |
+
sniffio==1.3.1
|
| 79 |
+
soupsieve==2.7
|
| 80 |
+
starlette==0.46.2
|
| 81 |
+
textual==3.1.1
|
| 82 |
+
tiktoken==0.9.0
|
| 83 |
+
tokenizers==0.21.1
|
| 84 |
+
tomlkit==0.13.2
|
| 85 |
+
tqdm==4.67.1
|
| 86 |
+
typer==0.15.2
|
| 87 |
+
typing-extensions==4.13.2
|
| 88 |
+
typing-inspection==0.4.0
|
| 89 |
+
tzdata==2025.2
|
| 90 |
+
uc-micro-py==1.0.3
|
| 91 |
+
urllib3==2.4.0
|
| 92 |
+
uvicorn==0.34.2
|
| 93 |
+
websockets==15.0.1
|
| 94 |
+
yarl==1.20.0
|
| 95 |
+
zipp==3.21.0
|
| 96 |
+
zstandard==0.23.0
|