Deployment Platform: Render ✅

Hi sarahgood I hope you are having a wonderful day!

Having looked at your repo I found the following points of interest

  1. Floydhub or something else had locked server.py so when run on the desktop you don’t have permission to run it. - changed permisions on app directory.

  2. Floydhub appears to be using an unsupported combination of torchvision 0.6.1 and 1.5.0 which was stoopping your app from starting. - changed requirements.txt line to

torch==1.5.1
  1. The model.pkl file the should be in the app drectory. - put model.pkl in app directory

I tested your model running the same command as you from terminal on my macbook pro.

  1. Don’t forget to edit your index.html file because it looks like a bear classifier at the moment, we don’t want to confuse your users. :smiley:

As you can see your medieval classifier is working just fine, there must be a fine line between medieval and post medieval as my google search was for a post medieval item. :smiley: :smiley:

You do not need to run docker to test your app at all. See one of my previous posts.

The gentleman who donated this repo actually was the creator of Django, having played with Django, I think it would be a little more tricky than this repo to achieve.

The points of interest above, mean you have learned an invaluable lesson that is how much work it can take to build a simple app which is why @jeremy says build something. This little app uses Github, Floydhub, css, html, fastai, Learn AI concepts, aiohttp, asyncio, uvicorn, Online Jupyter notebooks, Starlette, Javascript , Unix commands, Python, and Docker. Which many people don’t realise when they first start.

since starting on fastai about a year ago I have played with at least a couple of hundred libraries.

Hope this helps, don’t forget to put it on Share your work here ✅ when you get it working. :smiley:

Cheers mrfabulous1 :grinning: :grinning:

1 Like