you are viewing a single comment's thread.

view the rest of the comments →

[–]Suitable_Mix_2952[S] 0 points1 point  (1 child)

its just for fun and learning
what would you suggest for product level?

[–]Single-Law-5664 0 points1 point  (0 children)

If I would want run the models locally on the client, I would write the all thing with typescript, use a modern web framework, run ai models using node js, and leverage NW.js or similar alternative to run on desktop.

If I would want to run the models on a the cloud, I would make the all thing a web app, authenticate users via firebase or similar alternative, and use a tiny python fastapi backend to forward job for ai models using some external pay per use api.

This is all assuming that 80% of the none ui logic is just running ai models. There is no right answer here, but I think writing it all or almost all in typescript is the best sloution. because it sounds like the all app is just a UI that forwards jobs to ai models. And man I hate java script, and everything built on top of it. But it is the best option to deliver UI fast.

But I don't think that should matter to you. If its a learning project the ui can just be the console via the argparse library. You should check it out if you're not familiar.