2021-06-11 记事

Published on Aug. 22, 2023, 12:08 p.m.

2021-06-11 记事

label studio

加入评论


<View> 
<br />
<TextArea name="comment" value="" rows="10" ></TextArea>

</View>


包含改错和评论


<View>
<Style>  

    [data-labels="错误"] {
    border: #e0f408 solid 10px !important;
}
      [data-labels="已更正"] {
    border: #12f408 solid 10px !important;
}
  </Style>

<Relations>
    <Relation value="hello" />
    <Relation value="world" />

</Relations>

<Text name="txt-1" value="$text" />
  <Labels name="lbl-1" toName="txt-1">
    <Label value="Relevant" />
    <Label value="Not Relevant" />
  </Labels>
<Header name="text-1" value="标记错误" />
<Labels name="lbl-2" toName="txt-1">
    <Label value="错误"/>
   <Label value="已更正" />

</Labels>

<View> 
<br />
<TextArea name="comment" value="" toName="txt-1" rows="10" editable="true" >
  </TextArea>


</View>

</View>


Tags: