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 7e3f418 commit 6c55e59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/scripts/multimodal_example_chat_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
from llama_models.llama3.reference_impl.generation import Llama

from PIL import Image as PIL_Image
from pathlib import Path

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

def run_main(
ckpt_dir: str,
Expand Down

0 comments on commit 6c55e59

Please sign in to comment.