-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added documentation and also openapi export. Removed the cuda contain…
…er, since they still dont work properly
- Loading branch information
Dan
committed
Jul 31, 2023
1 parent
c7188dd
commit a7ec66a
Showing
9 changed files
with
308 additions
and
67 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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
.idea | ||
models | ||
temp | ||
workdir | ||
__pycache__ |
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,14 @@ | ||
FROM python:3.10 | ||
|
||
ENV EXECUTION_PROVIDER=CPU | ||
ENV TEMP_FRAME_FORMAT=png | ||
ENV TEMP_FRAME_QUALITY=0 | ||
ENV OUTPUT_VIDEO_QUALITY=0 | ||
|
||
RUN apt-get update && apt-get install -y ffmpeg | ||
RUN pip install --upgrade pip | ||
#RUN git clone https://github.com/s0md3v/roop.git /roop \ | ||
RUN git clone https://github.com/danikhani/roop /roop | ||
#RUN git clone https://github.com/s0md3v/roop.git /roop | ||
RUN git clone https://github.com/danikhani/roop.git /roop | ||
RUN pip install -r roop/requirements-docker.txt | ||
|
||
CMD ["python", "/roop/run_api.py"] | ||
CMD ["python", "/roop/api.py"] |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,17 +1,15 @@ | ||
version: '3.8' | ||
|
||
services: | ||
roopapi: | ||
roop-api: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
restart: unless-stopped | ||
restart: always | ||
volumes: | ||
- roop-data:/roop | ||
- open-nsfw:/root/.opennsfw2 | ||
ports: | ||
- 8000:8000 | ||
|
||
volumes: | ||
roop-data: | ||
open-nsfw: | ||
roop-data: |
Oops, something went wrong.