ZhengPeng7
commited on
Commit
·
ab9a192
1
Parent(s):
3ef53c3
Add the deployment option.
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# These HF deployment codes refer to https://huggingface.co/not-lain/BiRefNet/raw/main/handler.py.
|
2 |
-
from typing import Dict, List, Any
|
3 |
import base64
|
4 |
from io import BytesIO
|
5 |
import torch
|
|
|
1 |
# These HF deployment codes refer to https://huggingface.co/not-lain/BiRefNet/raw/main/handler.py.
|
2 |
+
from typing import Dict, List, Any, Tuple
|
3 |
import base64
|
4 |
from io import BytesIO
|
5 |
import torch
|