Following is an example of a created Line "Video Transcription":
#☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁
# Assembly Line: video-transcription
#☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁ ☁
# See docs at http://cloudfactory.com/developers/
# See example lines at http://cloudfactory.com/developers/lines/
# Run `cf login` OR manually specify your API key below (See http://cloudfactory.com/developers/resources/account.html)
# api_key: fill_in_your_api_key #(optional)
title: video-transcription
public: false # Make your line a public line if true
description: A sample line generated via CLI to use both standard and custom form for video transcription.
department: Data Processing # Department to build line in
# Line Input Formats
input_formats:
- name: url
required: true
valid_type: url
# Stations
stations:
# Sample Station #1: Robot Worker
- station:
station_index: 1
station_type: work
# Worker
worker:
worker_type: media_converter_robot # "human" or name of robot (content_scraper_robot, etc) # Robot Settings (see http://cloudfactory.com/developers/robots/)
settings:
url: ["{{url}}"]
to: mp3
audio_quality: 128
# Sample Station #2: Robot Worker
- station:
station_index: 2
station_type: work # work, improve, tournament
worker:
worker_type: media_splitting_robot
settings:
url: ["{{converted_file_from_url}}"]
split_duration: 10
overlapping_time: 2
# Sample Station #3: Human Worker
- station:
station_index: 3
station_type: work
worker:
worker_type: human
num_workers: 1
reward: 3
# station input format
input_formats:
station_2:
- name: splits_of_converted_file_from_url
multiple: true
custom_task_form:
form_title: Transcribe the given audio
instruction: Click the instruction button and follow it for transcriptions
html: form.html
css: form.css
js: form.js
# Sample Station #4: Human Worker
- station:
station_index: 4
station_type: work
worker:
worker_type: human
num_workers: 1
reward: 3
input_formats:
station_2:
- name: splits_of_converted_file_from_url
multiple: true
station_3:
- name: transcribed_text
multiple: true
custom_task_form:
form_title: Highlight the errors in transcribed text
instruction: Click the instruction button and follow it for transcriptions
html: form.html
css: form.css
js: form.js
# Sample Station #5: Human Worker
- station:
station_index: 5
station_type: work
worker:
worker_type: human
num_workers: 1
reward: 3
input_formats:
station_2:
- name: splits_of_converted_file_from_url
multiple: true
station_4:
- name: transcribed_text
multiple: true
- name: error_indexes
multiple: true
custom_task_form:
form_title: Fix higlighted error in transcribed text
instruction: Click the instruction button and follow it for transcriptions
html: form.html
css: form.css
js: form.js
# Sample Station #6: Robot Worker
- station:
station_index: 6
station_type: work
worker:
worker_type: text_appending_robot
settings:
append: ["{{transcribed_text}}"]
separator: " "
# Sample Station #7: Human Worker
- station:
station_index: 7
station_type: work
worker:
worker_type: human
num_workers: 1
reward: 3
input_formats:
station_1:
- name: converted_file_from_url
custom_task_form:
form_title: Review the transcribed text
instruction: Click the instruction button and follow it for transcriptions
html: form.html
css: form.css js: form.js