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 button #3

Open
asotgiu opened this issue Dec 3, 2024 · 0 comments
Open

Download results button #3

asotgiu opened this issue Dec 3, 2024 · 0 comments

Comments

@asotgiu
Copy link
Contributor

asotgiu commented Dec 3, 2024

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 to return a JSON file with the results.
  • Implement the API to return 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