You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AttributeError encountered in download_video() function, specifically with handling VideoInputList objects. The error states that 'VideoInputList' object has no attribute 'url', indicating an issue with how VideoInputList is processed.
Steps to Reproduce
Start the server with the command: poetry run aana --port 8000 --host 0.0.0.0 --target whisper.
Send a POST request to http://127.0.0.1:8000/video/transcribe with the specified data structure containing the path to the video file.
Observe the error response indicating an AttributeError in download_video() function.
Expected Behavior
The server should process the VideoInputList and transcribe the video without encountering an AttributeError.
Actual Behavior
The server returns an error response with RayTaskError(AttributeError) indicating that VideoInputList object does not have an 'url' attribute, failing in the download_video() function.
The bug was introduced when I removed the automatic convert_input_to_object call in the endpoint generation. My idea is to call convert_input_to_object explicitly in the pipeline when needed. For example, we call it in the download_video function for non-youtube videos. Technically it should already work for VideoInputList because we run download_video with batched=True but since VideoInputList is not a real list it fails. I'm not completely sure what is the bug but it might be something in the Mobius Pipeline in the batched nodes.
The text was updated successfully, but these errors were encountered:
Bug Description
download_video()
function, specifically with handlingVideoInputList
objects. The error states that 'VideoInputList' object has no attribute 'url', indicating an issue with howVideoInputList
is processed.Steps to Reproduce
poetry run aana --port 8000 --host 0.0.0.0 --target whisper
.http://127.0.0.1:8000/video/transcribe
with the specified data structure containing the path to the video file.download_video()
function.Expected Behavior
VideoInputList
and transcribe the video without encountering an AttributeError.Actual Behavior
RayTaskError(AttributeError)
indicating thatVideoInputList
object does not have an 'url' attribute, failing in thedownload_video()
function.Performance Details (if applicable)
Environment
Additional Notes
The bug was introduced when I removed the automatic convert_input_to_object call in the endpoint generation. My idea is to call convert_input_to_object explicitly in the pipeline when needed. For example, we call it in the download_video function for non-youtube videos. Technically it should already work for VideoInputList because we run download_video with batched=True but since VideoInputList is not a real list it fails. I'm not completely sure what is the bug but it might be something in the Mobius Pipeline in the batched nodes.
The text was updated successfully, but these errors were encountered: