d22cs051 commited on
Commit
373e0ef
1 Parent(s): 1b86bf6

flagging enabled trying with chown

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -0
  2. 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", allow_flagging=False)
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")