Skip to content

Commit

Permalink
Merge pull request huggingface#39 from Ambrosiussen/master
Browse files Browse the repository at this point in the history
Added missing "mediapipe" dependency for mediapipe_face_common.py
  • Loading branch information
patrickvonplaten authored May 22, 2023
2 parents 3c796f3 + fa7712c commit 9408286
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/controlnet_aux/mediapipe_face/mediapipe_face_common.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
from typing import Mapping

import mediapipe as mp
try:
import mediapipe as mp
except ImportError:
raise ImportError("The module 'mediapipe' is not installed. Please install it using the command: pip install 'mediapipe'")

import numpy


Expand Down

0 comments on commit 9408286

Please sign in to comment.