Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ command = "\"import sys; sys.path.append('./MuseV/MuseV'); sys.path.append('./Mu
|
|
20 |
subprocess.run(["python","-c",command])
|
21 |
subprocess.run(["mv", "./MuseV/scripts/inference/text2video.py", "./MuseV/text2video.py"])
|
22 |
subprocess.run(["mv", "./MuseV/scripts/inference/video2video.py", "./MuseV/video2video.py"])
|
23 |
-
with open ("./MuseV/
|
24 |
s = scrip.read()
|
25 |
s = s.replace('PROJECT_DIR = os.path.join(os.path.dirname(__file__), "")', "PROJECT_DIR = /home/user/app")
|
26 |
|
|
|
20 |
subprocess.run(["python","-c",command])
|
21 |
subprocess.run(["mv", "./MuseV/scripts/inference/text2video.py", "./MuseV/text2video.py"])
|
22 |
subprocess.run(["mv", "./MuseV/scripts/inference/video2video.py", "./MuseV/video2video.py"])
|
23 |
+
with open ("./MuseV/text2video.py","r+") as scrip:
|
24 |
s = scrip.read()
|
25 |
s = s.replace('PROJECT_DIR = os.path.join(os.path.dirname(__file__), "")', "PROJECT_DIR = /home/user/app")
|
26 |
|