nutrify icon indicating copy to clipboard operation
nutrify copied to clipboard

Make a page for uploading data to Nutrify

Open mrdbourke opened this issue 4 years ago • 2 comments

Currently Nutrify is split into two apps:

  1. The Streamlit app (for food image collecting) - https://share.streamlit.io/mrdbourke/nutrify/main/food_image_collector.py
  2. The Nutrify.app homepage - https://nutrify.app

Long-term, this isn't sustainable.

So I'd like to merge them into a single app.

For example, you could go to https://nutrify.app/upload to upload an image of food/label it - perhaps the "/upload" could just link to the Streamlit app in the meantime?

The https://nutrify.app/upload would be a similar page to the main page, nice and simple.

mrdbourke avatar Mar 15 '22 04:03 mrdbourke

For example, you could go to https://nutrify.app/upload to upload an image of food/label it - perhaps the "/upload" could just link to the Streamlit app in the meantime?

This will work in the meantime.

Happy to make a react app for this with react-router. I see you are doing vanilla JS though.

shivan-s avatar Mar 17 '22 22:03 shivan-s

A simple solution to this, for developing purpose is to create a multi-page streamlit app. This is a fairly new feature, hope this helps. Link to the feature blog post

ishandandekar avatar Dec 29 '22 18:12 ishandandekar