Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
John6666
/
Xlabs-Gradio-error
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
e12168b
Xlabs-Gradio-error
/
src
/
flux
/
annotator
/
canny
/
__init__.py
John6666
Upload 69 files
3a5287f
verified
7 months ago
raw
Copy download link
history
blame
Safe
161 Bytes
import
cv2
class
CannyDetector
:
def
__call__
(
self, img, low_threshold, high_threshold
):
return
cv2.Canny(img, low_threshold, high_threshold)