Add an asynchronous wrapper (EmotionDetectorAsync)
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 64/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- backend-api-design, machine-learning
Research direction
Start by reading the detector’s existing synchronous API and its ONNX inference entry point; the issue does not name files or tests, so locate them in the package first. Add an asynchronous wrapper named EmotionDetectorAsync that runs inference through asyncio.to_thread, then check that it works without blocking an async event loop.
Written by the indexing model from the issue text.
Description
For high-performance web frameworks like FastAPI, having an async wrapper for the detector would prevent blocking the main event loop.
We can use asyncio.to_thread under the hood to run the ONNX inference without blocking, allowing ERML to be used seamlessly in async web servers.
- Dominant language
- Python
- Stars
- 1
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sid-lakhani/erml
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sid-lakhani/erml#4 ·
-
enhancement help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sid-lakhani/erml#2 ·
-
enhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
sid-lakhani/erml#1 ·
-
enhancement help wanted
Difficulty 4/5 3-5 days Newbie friendliness 48/100
sid-lakhani/erml#10 ·
-
help wanted
Difficulty 3/5 1-2 days Newbie friendliness 66/100
sid-lakhani/erml#9 ·
All issues in sid-lakhani/erml
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day