Files
modal-examples/07_web_endpoints/webrtc/yolo/__init__.py
Ben Shababo d089c92650 WebRTC and YOLO example (#1176) (#1177)
* WebRTC and YOLO example  (#1176)

webrtc example using aiortc and yolo

* attempt to fix frontmatter

* trying a different pattern for the cmd arg with m flag

* address review comments

* fix github links and add suggestions from warnings for huggingface hub and web_url vs get_web_url

* run precommit hooks

* move test to separate file

* move test to separate file

* why did changes from modal_webrtc not commit previously?

* change testing file name to not trigger pytest directly

* change cmd in front matter to change new file name

* fix typehint for peer class variable and move so we can use ModalWebRtcPeer as type

* rename test file and ignore in pyproject pytest options

* better signaling server doct string

* update docstrings and change how we specificy the modal peer class

* revert change in workflow from local testing

* change cmd to match test file name

* debug checking provided modal peer class is subsclass of ModalWebRtcPeer

* change negotation to signaling in copy/diagrams, remove deploy:true frontmatter

* close revision of copy

* remove print statement and add information to test fail message

* close read and revision of copy

* add region note and increase ws connection timeout

* address jacks comments

* make diagrams more modal-style

* add tag for lamda-test opt-out reason

* update fastrtc example

* add video and link to demo, edit text

---------

Co-authored-by: Ben Shababo <shababo@Bens-MacBook-Air.local>
Co-authored-by: Charles Frye <charles@modal.com>
2025-05-23 22:24:06 -07:00

2 lines
37 B
Python

from .yolo import YOLOv10 as YOLOv10