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

Download results buttons #3

Open
Tracked by #5
maurapintor opened this issue Nov 15, 2022 · 0 comments
Open
Tracked by #5

Download results buttons #3

maurapintor opened this issue Nov 15, 2022 · 0 comments

Comments

@maurapintor
Copy link
Contributor

maurapintor commented Nov 15, 2022

Summary of the request

Add the “download results” button to the web interface. The button should allow the user to download the results (classification scores) as a JSON file and as a png file showing the top 5 scores in a plot (bar chart).
All the functionalities must be preserved, this is just a new feature.
Difficulty:
image

Subtasks

  • Add the "download results" button to the interface.
  • Add the "download plot" button to the interface.
  • Implement the API for returning a JSON file with the results.
  • Implement the API for returning the plot.
  • Connect the buttons with the APIs.

Plan for the implementation

The easiest way to implement the new functionality is to create the files on the go when the button is pressed, through the button URL linked with an HTML tag (<a href="URL">, see references below).

image

Useful links:

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

No branches or pull requests

1 participant