Giter Site home page Giter Site logo

Comments (4)

shevchenkonik avatar shevchenkonik commented on August 16, 2024

@DakarXY

Hi! What do you mean by config update? Currently, we have one bundle of frontend part to explore mode and react app doesn't update configuration in this mode.

@deppp, do you think this feature will be in future minor versions?

from label-studio.

DakarXY avatar DakarXY commented on August 16, 2024

Yeah. Now it doesn't. It update only task module.
But, maybe, you can give some advice, how i can rewrite index.js and index.html (maybe so appstore.js, production.js) to get this feature. Needed different labels/choices for different tasks but in SPA. Now i get it worked, but only with page update after new task loading...

from label-studio.

makseq avatar makseq commented on August 16, 2024

@DakarXY What way do you add labels to config?

from label-studio.

deppp avatar deppp commented on August 16, 2024

@DakarXY There is a way to support that if the number of labels is the same each time, you can use a variable inside the tag's value, here is an example of the config:

<View> 
  <Labels name="lbl" toName="txt">
    <Label value="$val1" />
    <Label value="$val2" />
  </Labels>
  <Text name="txt" value="$text" />
</View>

Task data should inlcude text, val1, val2 fields, something like this:

{ "text": "Text to be labeled", "val1": "Label value 1", "val2": "Label value 2" }

I've not tested the above, though, will do so later this week.

from label-studio.

Related Issues (20)

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.