Skip to content

Conversation

edwardchalstrey1
Copy link
Contributor

This PR isn't intending to be merged in its current state, but explores some of the options from #347

I've tried to think about how we might auto-generate the ~"5 lines of scivision code" needed to load a datasource, a model and generate a prediction. The difficulty I realise it that that isn't actually how scivision works currently, there is no simple "5 lines" approach. We could come closer to that after #480 is resolved, especially if this results in no additional steps between load_dataset and model.predict. A model page could then have code displayed like so (see the code changes in this PR):

Screenshot 2023-01-31 at 16 07 46

Having said this, it might be preferable to not have any code on the model pages and instead save this specifically for the proposed matching page in #347

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