4 ms·
As a beginner, could anyone point me to resources on how to use this to create a simple web app?
by d13 5y ago
As a beginner, could anyone point me to resources on how to use this to create a simple web app?
- bckr 5y agoDoesn't look like it's ready to use for a web app, just because the response times are so high. It could also be particularly high today due to the "HN hug of death", but I expect usage will remain high. That's assuming you want to use the API, which, while they don't provide any information about it, you could figure out what's going on by using the demo page and then inspecting the network requests tab in your browser to see what requests are being sent and what responses are coming back. Another option is to run the model yourself by downloading the weights and figuring out how to use them. This will be a bit challenging especially for a beginner. Assuming you can do one of these two things, setting up the web app is the easy part. You could use a framework like Flask and just expose an IP address on a virtual machine living in Google Cloud Platform or AWS. Hope that helps.
- d13 5y agoThanks so much, that explains it! I was looking for an API document but, of course, couldn’t find one because it doesn’t exist. Inspecting the network requests is a great idea! I’d like to try running the model myself. What would the a basic would the basics steps be for doing this?