Closed sooraj1002 closed 4 months ago
[!CAUTION]
Review failed
The pull request is closed.
The recent changes involve adding support for a new task type, "whisper_finetuning," to the workflow system. This includes updating the dispatch method to handle the new task type, adding the task type to the serializer choices, and defining the relevant configurations and mappings for "whisper_finetuning" in utility functions.
Files | Change Summary |
---|---|
workflow/mixins.py |
Added condition to handle task_type == "whisper_finetuning" and set request.META["workflow_id"] . |
workflow/serializers.py |
Included whisper_finetuning in the task_type choices of the ModelDataSerializer class. |
workflow/utils.py |
Added configuration and mapping for whisper_finetuning in get_task_config and get_task_mapping functions. |
sequenceDiagram
participant User
participant Dispatch
participant Serializer
participant Utils
User->>Dispatch: Initiate task (whisper_finetuning)
Dispatch->>Serializer: Validate task type
Serializer-->>Dispatch: Task type valid
Dispatch->>Dispatch: Set request.META["workflow_id"]
Dispatch->>Utils: Get task config
Utils-->>Dispatch: Return whisper_finetuning config
Dispatch->>User: Proceed with whisper_finetuning workflow
In the land of code we see, A whisper tuned so fine and free, New task type in the serializer's hand, Mapped with care, so grand. Hurray for updates swift and bright, A coder's dream, a feature's light! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
whisper_finetuning
in workflow configurations.whisper_finetuning
as an option in task types.Enhancements
whisper_finetuning
.