Skip to content

Commit

Permalink
Fix "Unresolved reference 'THIS_DIR' "
Browse files Browse the repository at this point in the history
Add the value of THIS_DIR.
  • Loading branch information
PengWeixuan authored Nov 24, 2024
1 parent 362d52a commit 7e3f418
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/scripts/multimodal_example_text_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@

from PIL import Image as PIL_Image
from termcolor import cprint
from pathlib import Path

THIS_DIR = Path(__file__).parent.resolve()

def run_main(
ckpt_dir: str,
Expand Down

0 comments on commit 7e3f418

Please sign in to comment.