You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
780 B

  1. <template lang="pug">
  2. extends ./download.pug
  3. block select-format-area
  4. label.radio
  5. input(
  6. type="radio"
  7. name="format"
  8. value="csv"
  9. v-bind:checked="format == 'csv'"
  10. v-model="format"
  11. )
  12. | CSV
  13. label.radio
  14. input(
  15. type="radio"
  16. name="format"
  17. value="json"
  18. v-bind:checked="format == 'json'"
  19. v-model="format"
  20. )
  21. | JSONL
  22. block example-format-area
  23. pre.code-block(v-show="format == 'csv'")
  24. code.csv
  25. include ./examples/download_text_classification.csv
  26. | ...
  27. pre.code-block(v-show="format == 'json'")
  28. code.json
  29. include ./examples/download_text_classification.jsonl
  30. | ...
  31. </template>
  32. <script>
  33. import { uploadMixin } from './mixin';
  34. export default uploadMixin;
  35. </script>