- Dockerfile +2 -0
- app.py +0 -1
- docker-compose.yaml +1 -8
Dockerfile
CHANGED
@@ -8,6 +8,8 @@ WORKDIR /app
|
|
8 |
|
9 |
RUN apt update && apt install -y -qq ffmpeg aria2 && apt clean
|
10 |
|
|
|
|
|
11 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
COPY . .
|
|
|
8 |
|
9 |
RUN apt update && apt install -y -qq ffmpeg aria2 && apt clean
|
10 |
|
11 |
+
COPY requirements.txt .
|
12 |
+
|
13 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
14 |
|
15 |
COPY . .
|
app.py
CHANGED
@@ -53,7 +53,6 @@ with gr.Blocks(theme="ParityError/Interstellar", title="Applio") as Applio:
|
|
53 |
if __name__ == "__main__":
|
54 |
Applio.launch(
|
55 |
favicon_path="assets/ICON.ico",
|
56 |
-
share=True,
|
57 |
inbrowser="--open" in sys.argv,
|
58 |
server_port=6969,
|
59 |
)
|
|
|
53 |
if __name__ == "__main__":
|
54 |
Applio.launch(
|
55 |
favicon_path="assets/ICON.ico",
|
|
|
56 |
inbrowser="--open" in sys.argv,
|
57 |
server_port=6969,
|
58 |
)
|
docker-compose.yaml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
version:
|
2 |
|
3 |
services:
|
4 |
applio:
|
@@ -7,10 +7,3 @@ services:
|
|
7 |
dockerfile: Dockerfile
|
8 |
ports:
|
9 |
- "6969"
|
10 |
-
deploy:
|
11 |
-
resources:
|
12 |
-
reservations:
|
13 |
-
devices:
|
14 |
-
- driver: nvidia
|
15 |
-
count: 1
|
16 |
-
capabilities: [gpu]
|
|
|
1 |
+
version: "1"
|
2 |
|
3 |
services:
|
4 |
applio:
|
|
|
7 |
dockerfile: Dockerfile
|
8 |
ports:
|
9 |
- "6969"
|
|
|
|
|
|
|
|
|
|
|
|
|
|