-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added test and error handling #4
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,78 @@ | |||
absl-py==0.10.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How did you generate this?
|
||
# Run linter (checks code style) | ||
pip install -r requirements.txt | ||
flake8 --select E,F src/ test/ --exclude src/filters,src/parser/evaql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have src/filters src/parser/evaql. So you can remove these
create_video_from_frames(frames._batch, video_name) | ||
return jsonify({"name": video_name}) | ||
|
||
#name = video_name + ".mp4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove these comments
print("calling create video") | ||
video_name = generate_video_name(RequestFrames.request_id) | ||
create_video_from_frames(frames._batch, video_name) | ||
return jsonify({"name": video_name}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this only sending back the video name to the UI? How will the streaming happen?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's what I see from the original demo file in the demo folder. There's a send file and a send name so I think maybe send file does the file sending?
Did you test it with eva and eva_ui? |
No description provided.