Spaces:
Running
Running
fexeak
commited on
Commit
·
841df94
1
Parent(s):
bfeb581
add higgs-audio
Browse files- Dockerfile +8 -0
Dockerfile
CHANGED
@@ -12,5 +12,13 @@ WORKDIR /app
|
|
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"]
|
|
|
12 |
COPY --chown=user ./requirements.txt requirements.txt
|
13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
14 |
|
15 |
+
# 安装 higgs-audio-v2-generation-3B-base
|
16 |
+
RUN git clone https://github.com/boson-ai/higgs-audio.git && \
|
17 |
+
cd higgs-audio && \
|
18 |
+
python3 -m venv higgs_audio_env && \
|
19 |
+
source higgs_audio_env/bin/activate && \
|
20 |
+
pip install -r requirements.txt && \
|
21 |
+
pip install -e .
|
22 |
+
|
23 |
COPY --chown=user . /app
|
24 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|