talalif commited on
Commit
dfab677
·
verified ·
1 Parent(s): abd89f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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/scripts/inference/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
 
 
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