Budgerigar Gender Determination
by atalaydenknalbantco.huggingface.atalaydenknalbant/budgerigar_gender_determination
- Remote endpoint
- 2 tools
- GPL-3.0
Tools
Budgerigar_Gender_Determination_update_visibilityAdjusts the visibility of Gradio components based on the selected input type. This function dynamically shows or hides the image and video input/output components in the Gradio interface to ensure only relevant fields are visible. Returns: tuple: A tuple of `gr.update` objects for the visibility of:, (image input, video input, image output, video output).Budgerigar_Gender_Determination_yolo_inferencePerforms budgerigar gender determination inference on an image or video using a selected YOLO or RTDETR model. This function handles both image and video inputs. For images, it loads the appropriate model and annotates the image. For videos, it processes each frame, performs detection, and then reconstructs an annotated video. Error handling for missing inputs is included, returning blank outputs with messages. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool. Returns: tuple: A tuple containing two elements:, - PIL.Image.Image or None: The annotated image if `input_type` was "Image",, otherwise None., - str or None: The path to the annotated video file if `input_type` was "Video",, otherwise None.
No tool matches.
As the server's own listing gives them. We never call a tool.