deneland / streamlit-labelstudio Goto Github PK
View Code? Open in Web Editor NEWA Streamlit component that provides an annotation interface using the LabelStudio Frontend.
License: MIT License
A Streamlit component that provides an annotation interface using the LabelStudio Frontend.
License: MIT License
Hi,
First of all, thanks for this great job!
To take full advantage of its potential, can you please update the ReadMe to guide the user on how to deploy your component in share.streamlit.io?
Thank you very much
hey @deneland,
this component looks very promising to me as i work with label stuido before.
However, i do not really get the benefit yet of wrapping it onto streamlit.
Cloud you provide an deployed streamlit app showing how it works?
Best regards
Chris
Hello, I am wondering if accessing to state variables during the labeling job is possible. For example, I want to access the label data - x
, y
, width
, label
,... - before pressing the Submit
button.
hey,
I was running the app.py code. I'm totally new to streamlit and labelstudio, was wondering if there are any sample apps using this streamlit-labelstudio component that let the user upload multiple images.
Hi @deneland
probably due to my ignorance of label studio, but on following these steps:
python3 -m venv venv
source venv/bin/activate
pip install streamlit-labelstudio
venv/bin/streamlit run app.py
The app raises exception:
StreamlitAPIException: No such component directory: '/Users/robin/Github/streamlit-labelstudio/streamlit_labelstudio/frontend/build'
File "/Users/robin/Github/streamlit-labelstudio/app.py", line 2, in <module>
from streamlit_labelstudio import st_labelstudio
File "/Users/robin/Github/streamlit-labelstudio/streamlit_labelstudio/__init__.py", line 38, in <module>
_component_func = components.declare_component("streamlit_labelstudio", path=build_dir)
I guess this might be due to Label Studio not being running?
How to add multiple annotation data
Hi,
I found returned bounding boxes' coordinates are not adapted to original image, and I don't know how to get the resize ratio between the displayed image and the original image. Could you please tell me the way to get the exact coordinates of the bounding boxes? Thanks a lot.
It sometimes crops out the submit button, it loads only half the picture sometimes, and recently just I run the streamlit file and the label studio front end didn't even load (the screen was blank)
If i wish the text to be loaded with annotation when the component is displayed, i supposed the completions
can help to pre-load with annotations right? Can I ask what if the format of accepted variable? I am not very familiar with front-end tech, couldnt figure out from the source code.
task = {
"completions": [
],
"predictions": [
],
"data": {
"text": "To have faith is to trust yourself to the water",
'id': 20
},
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.