Fluf22 commited on
Commit
02b8bdb
1 Parent(s): 45847ae

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +3 -1
handler.py CHANGED
@@ -1,7 +1,9 @@
1
  from typing import Dict, List, Any
2
  from PIL import Image
3
  from io import BytesIO
4
- from optimum.nvidia.pipelines import pipeline
 
 
5
  import base64
6
 
7
 
 
1
  from typing import Dict, List, Any
2
  from PIL import Image
3
  from io import BytesIO
4
+ # Needs a specific package to install on the container
5
+ # from optimum.nvidia.pipelines import pipeline
6
+ from transformers import pipeline
7
  import base64
8
 
9