Skip to content

Commit

Permalink
switch hardcoded path to os.listdir
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed Apr 20, 2024
1 parent b750c93 commit 4913370
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runAI/workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -943,9 +943,9 @@ def realESRGAN(self):
self.main, self.main.videoName, self.main.encoder
)
if self.main.ui.Rife_Model.currentText() == "Animation":
model = f"{settings.ModelDir}realesrgan/models/realesr-animevideov3-x{self.main.ui.Rife_Times.currentText()[0]}"
model = os.path.join(f"{settings.ModelDir}","realesrgan","models",f"realesr-animevideov3-x{self.main.ui.Rife_Times.currentText()[0]}")
else:
model = f"{settings.ModelDir}realesrgan/models/{self.main.ui.Rife_Model.currentText()}"
model = os.path.join(f"{settings.ModelDir}","realesrgan","models",f"{self.main.ui.Rife_Model.currentText()}")
self.main.renderAI = RenderCUDA.Upscaling(
self.main,
self.main.input_file,
Expand Down
Binary file modified src/torch/__pycache__/RenderCUDA.cpython-311.pyc
Binary file not shown.
Binary file modified src/torch/__pycache__/UpscaleImage.cpython-311.pyc
Binary file not shown.
Binary file modified src/torch/gmfss/__pycache__/gmfss_fortuna_union.cpython-311.pyc
Binary file not shown.
Binary file modified src/torch/rife/__pycache__/rife.cpython-311.pyc
Binary file not shown.
Binary file modified src/torch/rife/rife414/__pycache__/IFNet_HDv3.cpython-311.pyc
Binary file not shown.
Binary file modified src/torch/rife/rife414/__pycache__/RIFE_HDv3.cpython-311.pyc
Binary file not shown.

0 comments on commit 4913370

Please sign in to comment.