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.

36 lines
652 B

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