Skip to content
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

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open

Added test and error handling #4

wants to merge 29 commits into from

Conversation

llxxll12345
Copy link
Contributor

No description provided.

@llxxll12345 llxxll12345 self-assigned this Mar 18, 2021
@@ -0,0 +1,78 @@
absl-py==0.10.0
Copy link
Member

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
Copy link
Member

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"
Copy link
Member

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})
Copy link
Member

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?

Copy link
Contributor Author

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?

@gaurav274
Copy link
Member

Did you test it with eva and eva_ui?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants