flagging enabled trying with chown
Browse files- Dockerfile +1 -0
- app.py +1 -1
Dockerfile
CHANGED
@@ -42,4 +42,5 @@ RUN pip install protobuf==3.20.* --no-cache-dir
|
|
42 |
# RUN ls -la $HOME/code
|
43 |
# RUN chown -r 777:777 /code
|
44 |
RUN mkdir flagged
|
|
|
45 |
CMD ["python3", "app.py"]
|
|
|
42 |
# RUN ls -la $HOME/code
|
43 |
# RUN chown -r 777:777 /code
|
44 |
RUN mkdir flagged
|
45 |
+
RUN chown -R 777:777 flagged
|
46 |
CMD ["python3", "app.py"]
|
app.py
CHANGED
@@ -64,7 +64,7 @@ class DFSeparationApp:
|
|
64 |
["samples/Real/Central Avenue 1.wav","0"],
|
65 |
["samples/Real/hindi.mp3","0"],
|
66 |
]
|
67 |
-
).launch(quiet=False,server_name="0.0.0.0"
|
68 |
|
69 |
if __name__ == "__main__":
|
70 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
|
64 |
["samples/Real/Central Avenue 1.wav","0"],
|
65 |
["samples/Real/hindi.mp3","0"],
|
66 |
]
|
67 |
+
).launch(quiet=False,server_name="0.0.0.0")
|
68 |
|
69 |
if __name__ == "__main__":
|
70 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|