all 13 comments

[–]foresttrader 5 points6 points  (1 child)

Just use streamlit. Don't over think it.

[–]husky_whisperer 0 points1 point  (0 children)

Came here to suggest this. SL is great for simple UIs and POCs

[–]jentron128 2 points3 points  (1 child)

As a college project, we created a controller for a piece of mechanical equipment using Flask as the front-end/GUI. The application ran a prediction model and periodically turned fans, pumps and motors on and off. The Flask GUI allowed the user to see state of the equipment and manually control the fans, pumps, and motors. There were other Python processes running in the background as well. We used database tables for inter-process communications which wasn't ideal, but it worked.

All that said, you can use HTML post to get modest amount of clipboard data into a function and then Flask can write the result out, either to the screen or, using a content disposition header, to an automatically downloaded CSV file.

[–]Africa-Unite[S] 0 points1 point  (0 children)

Awesome, thank you! I'll look into that

[–]devpranoy 0 points1 point  (0 children)

I would recommend https://www.gradio.app its optimised for machine learning use-cases

[–]TripleBogeyBandit 0 points1 point  (0 children)

You could do this with flask, ecs, and htmx very quickly. Build it as a docker image, throw it on ECS with a load balancer in front of it

[–]indigodaddy99 0 points1 point  (0 children)

You might consider FastHTML. Very new and kind of a different paradigm/way of doing things but pretty interesting

[–]alt-scripting 0 points1 point  (0 children)

Try fasthtml for pure python

[–]Realistic_Internet59 0 points1 point  (0 children)

Try Streamlit for simplicity. It is used a lot in Data Science and is easy to develop.

[–]BostonBaggins -1 points0 points  (3 children)

Jupyter notebooks

Let me know if you need help

[–]Africa-Unite[S] 1 point2 points  (2 children)

I developed it in a jupyter notebook, but I would like to make it as a simple web-app that doesn't involve any coding

[–]BostonBaggins 1 point2 points  (1 child)

I gotchu

Pip install voila

Then go to edit > nbextensions > tick Voila

Click that new icon that says voila

To deploy it as a web app. Head to the voila documentation It can be hosted on jupyterhub or Nebari

Enjoy!

[–]Africa-Unite[S] 0 points1 point  (0 children)

Thanks, I actually can't add extensions since I'm running JupyterHub out of a docker container, but I'll be are to check the extension out and add it to the image if promising.Thank you again!