mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
formatting
This commit is contained in:
@@ -28,9 +28,6 @@ else:
|
||||
rtc_configuration = None
|
||||
|
||||
|
||||
rtc_configuration = None
|
||||
|
||||
|
||||
def detection(image, conf_threshold=0.3):
|
||||
image = cv2.resize(image, (model.input_width, model.input_height))
|
||||
new_image = model.detect_objects(image, conf_threshold)
|
||||
|
||||
296
demo/space.py
296
demo/space.py
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user