talalif commited on
Commit
76fe472
·
verified ·
1 Parent(s): bfe7dfa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -23,10 +23,10 @@ subprocess.run(["mv", "./MuseV/scripts/inference/video2video.py", "./MuseV/video
23
 
24
  with open ("./MuseV/text2video.py","r+") as scrip:
25
  s = scrip.read()
26
- s = s.replace("/checkpoints/embedding/badhandv4.pt", "./MuseV/checkpoints/embedding/badhandv4.pt")
27
- s = s.replace("/checkpoints/embedding/ng_deepnegative_v1_75t.pt", "/MuseV/checkpoints/embedding/ng_deepnegative_v1_75t.pt")
28
- s = s.replace("/checkpoints/embedding/EasyNegativeV2.safetensors", "/MuseV/checkpoints/embedding/EasyNegativeV2.safetensors")
29
- s = s.replace("/checkpoints/embedding/bad_prompt_version2-neg.pt", "/MuseV/checkpoints/embedding/bad_prompt_version2-neg.pt")
30
  scrip.write(s)
31
  scrip.truncate()
32
  scrip.seek(0)
 
23
 
24
  with open ("./MuseV/text2video.py","r+") as scrip:
25
  s = scrip.read()
26
+ s = s.replace("checkpoints/embedding/badhandv4.pt", "MuseV/checkpoints/embedding/badhandv4.pt")
27
+ s = s.replace("checkpoints/embedding/ng_deepnegative_v1_75t.pt", "MuseV/checkpoints/embedding/ng_deepnegative_v1_75t.pt")
28
+ s = s.replace("checkpoints/embedding/EasyNegativeV2.safetensors", "MuseV/checkpoints/embedding/EasyNegativeV2.safetensors")
29
+ s = s.replace("checkpoints/embedding/bad_prompt_version2-neg.pt", "MuseV/checkpoints/embedding/bad_prompt_version2-neg.pt")
30
  scrip.write(s)
31
  scrip.truncate()
32
  scrip.seek(0)