menu

2021-06-11 记事

2021-06-11 记事

label studio

加入评论


<View> 
  <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> 
  <TextArea name="comment" value="" toName="txt-1" rows="10" editable="true" >
  </TextArea>

  
  </View>
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
</View>

##

编辑