Giter VIP home page Giter VIP logo

streamlit_image_annotator's Introduction

Hi there, I'm Nathan ๐Ÿ‘‹ ๐Ÿค–

I am a data scientist in the Seattle area, currently working at Indigo in the healthcare / insurance space. I've been in data analytics since 2017 in Seattle and a Data Scientist since 2020. My academic background is in physics (BSc from Humboldt State University, MSc from Washington State University). Aside from data work, I have made games in Unity (including VR and AR content), 3D model and 3D print interesting and functional things, and taught high school and college physics / chemistry. I'm interested in all things data, 3D modeling / printing, and gaming.

streamlit_image_annotator's People

Contributors

rasbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

streamlit_image_annotator's Issues

Streamlit warning shows when first launching the web app

Issue

When launching the app, a warning is displayed on the sidebar:
streamlit_warning
This is due to the text inputs having a key and a value. Ideally they should have one or the other.

  • value: allows the text input box to show the current value (ex: the directory you are using) and have it be editable. You can just change the last folder name if the directory you are in is nested. This is the ideal behavior of the text input box. However, the way streamlit runs the app code, you would need to enter a new directory twice in order for it to properly work. This is a known issue for streamlit users and it's annoying. The solution? Use a key instead.
  • key: When only using a key, you can properly store the value of the directory you enter, and only have to enter it once. However, the text box will not display anything, and you would have to enter the full path of the directory if you want to change it. So that is not ideal.
  • Using both: You get a this warning, which I am able to suppress but it will show up when the app is launched. This almost gets the app to the ideal state. The issue here is that the default directory will not be shown when the app starts, but after you enter a directory it will be shown and editable.

Fix

Wait for streamlit to address this, since it has been discussed in the forums. Implement an alternate solution which is to use a placeholder in the text box, which will display the directory but it is not editable. You would still need to type out the full directory path every time. So far there isn't a perfect solution, but it is a minor annoyance and not a major bug.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.