extends ./upload.pug
block select-format-area
label.radio
input(
v-model="format"
v-bind:checked="format == 'plain'"
type="radio"
name="format"
value="plain"
)
| Plain
label.radio
input(
type="radio"
name="format"
value="csv"
v-bind:checked="format == 'csv'"
v-model="format"
)
| CSV
label.radio
input(
type="radio"
name="format"
value="json"
v-bind:checked="format == 'json'"
v-model="format"
)
| JSONL
label.radio
input(
type="radio"
name="format"
value="excel"
v-bind:checked="format === 'excel'"
v-model="format"
)
| Excel
block example-format-area
pre.code-block(v-show="format == 'plain'")
code.plaintext
include ./examples/upload_text_classification.txt
| ...
pre.code-block(v-show="format == 'csv'")
code.csv
include ./examples/upload_text_classification.csv
| ...
pre.code-block(v-show="format == 'json'")
code.json
include ./examples/upload_text_classification.jsonl
| ...