Skip to content

Commit

Permalink
Merge pull request #2 from OpenNewsLabs/tweet-that-clip
Browse files Browse the repository at this point in the history
updating Tweet that clip from origin
  • Loading branch information
pietrop authored Apr 17, 2020
2 parents bd12466 + aef7eb7 commit 2335d74
Show file tree
Hide file tree
Showing 6 changed files with 750 additions and 592 deletions.
1 change: 0 additions & 1 deletion docs/CNAME

This file was deleted.

Binary file removed docs/favicon/favicon.ico
Binary file not shown.
22 changes: 11 additions & 11 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@

<title> : autoEdit</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="/css/bootstrap.min.css" >
<link rel="stylesheet" href="/css/custom.css">
<link rel="stylesheet" href="/autoEdit_2/css/bootstrap.min.css" >
<link rel="stylesheet" href="/autoEdit_2/css/custom.css">
<!-- Custom styles for this template -->
<link href="/css/landing.css" rel="stylesheet">
<link href="/autoEdit_2/css/landing.css" rel="stylesheet">
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</head>
Expand Down Expand Up @@ -97,14 +97,14 @@ <h3>Fast text based video editing</h3>
<div class="col-lg-2">
<h5>Fast transcriptions</h5>
<p>Always in under 5 minutes.</p>
<img class="hidden-xs hidden-sm hidden-md" src="/img/arrow1.png">
<img class="hidden-xs hidden-sm hidden-md" src="/autoEdit_2/img/arrow1.png">
</div>
<div class="col-lg-8">
<img class="img-responsive" src="/img/3_transcription.gif" alt="">
<img class="img-responsive" src="/autoEdit_2/img/3_transcription.gif" alt="">
</div>
<div class="col-lg-2">
<br>
<img class="hidden-xs hidden-sm hidden-md" src="/img/arrow2.png">
<img class="hidden-xs hidden-sm hidden-md" src="/autoEdit_2/img/arrow2.png">
<h5>Video editing</h5>
<p>Export text selections to video sequence.</p>
</div>
Expand All @@ -118,29 +118,29 @@ <h5>Video editing</h5>
<h3>As featured on</h3>
<div class="col-lg-4 text-center">
<a href="http://www.niemanlab.org/2016/10/try-out-this-open-source-tool-for-editing-video-and-audio-transcripts/" target="_blank">
<img src="/img/press/niemanlab_logo.png">
<img src="/autoEdit_2/img/press/niemanlab_logo.png">
</a>
</div>
<div class="col-lg-4 text-center">
<a href="https://www.journalism.co.uk/news/tool-for-journalists-autoedit-to-edit-videos-quicker-using-transcriptions/s2/a684359/" target="_blank">
<img src="/img/press/jcu_logo.png">
<img src="/autoEdit_2/img/press/jcu_logo.png">
</a>
</div>
<div class="col-lg-4 text-center">
<a href="https://www.rjionline.org/stories/fl171-ibm-watson-speech-to-text" target="_blank">
<img src="/img/press/rij.png">
<img src="/autoEdit_2/img/press/rij.png">
</a>
</div>
</div>
<div class="row">
<div class="col-lg-6 text-center">
<a href="https://product.voxmedia.com/2016/11/22/13669486/faster-video-editing" target="_blank">
<img src="/img/press/vox_product_logo.png">
<img src="/autoEdit_2/img/press/vox_product_logo.png">
</a>
</div>
<div class="col-lg-6 text-center">
<a href="https://source.opennews.org/en-US/articles/video-editing-made-better-introducing-autoedit" target="_blank">
<img src="/img/press/source.png">
<img src="/autoEdit_2/img/press/source.png">
</a>
</div>
</div>
Expand Down
55 changes: 29 additions & 26 deletions lib/app/templates/transcription_form_template.html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<br> To use a working version of the app <a href="https://github.com/OpenNewsLabs/autoEdit_2/releases" target="_blank"> download latest the release.</a> <br>
To view demo/example transcriptions <a href="/demo/#transcriptions"> click here.</a><br>
To view user manual example <a href="https://pietropassarelli.gitbooks.io/autoedit2-user-manual/content/" target="_blank"> click here.</a>
</div>
</div>
<% }%>
<!-- end demo notice -->

Expand All @@ -28,7 +28,7 @@
<div class="form-group">
<label for="fileUpload">Choose an audio or video file to transcribe</label>
<% if(window.process !== undefined ){%>
<button id="btnElectronInputMediaFile" class="btn btn-default btn-xs" class="very-sweet-looking">Choose a File</button>
<input id="inputElectronInputMediaFile" name="file" type="file" disabled="disabled" style=" visibility: hidden;"/>
Expand All @@ -52,7 +52,7 @@
<label class="radio-inline"><input class="languageRadio" type="radio" id="pocketSphinxOption" name="optradio" value="pocketsphinx">Pocketsphinx (offline/experimental) </label><br>
<label class="radio-inline"><input class="languageRadio" type="radio" id="bbcOption" name="optradio" value="BBC" >BBC <i>(Need to be a BBC employee on BBC Network)</i></label><br>
<label class="radio-inline"><input class="languageRadio" type="radio" id="captionsOption" name="optradio" value="captions">Caption File <code>.srt</code> </label><br>

</div>

<!-- Nav tabs -->
Expand Down Expand Up @@ -84,38 +84,41 @@
<div role="tabpanel" class="tab-pane " id="ibm">
<br>
<!-- IBM languages -->
<div class="options">
<div class="options">
<div class="form-group">
<label for="languageModelIBM">IBM Languages:</label>
<select class="form-control" id="languageModelIBM">
<option value="en-US_BroadbandModel" >US English - Broadband</option>
<option value="en-US_NarrowbandModel">US English - Narrowband</option>
<option value="en-US_BroadbandModel">US English - Broadband</option>
<option value="en-US_NarrowbandModel">US English - Narrowband</option>
<!-- <option disabled>_________</option> -->
<option value="en-UK_BroadbandModel">UK English - Broadband </option>
<option value="en-UK_NarrowbandModel">UK English - Narrowband </option>
<option value="en-UK_BroadbandModel">UK English - Broadband</option>
<option value="en-UK_NarrowbandModel">UK English - Narrowband</option>
<!-- <option disabled>_________</option> -->
<option value="es-ES_BroadbandModel">Spanish - Broadband </option>
<option value="es-ES_NarrowbandModel">Spanish - Narrowband </option>
<option value="it-IT_BroadbandModel">Italian - Broadband</option>
<option value="it-IT_NarrowbandModel">Italian - Narrowband</option>
<!-- <option disabled>_________</option> -->
<option value="fr-FR_BroadbandModel">French - Broadband</option>
<option value="es-ES_BroadbandModel">Spanish - Broadband</option>
<option value="es-ES_NarrowbandModel">Spanish - Narrowband</option>
<!-- <option disabled>_________</option> -->
<option value="ja-JP_BroadbandModel"> Japanese - Broadband</option>
<option value="ja-JP_NarrowbandModel"> Japanese - Narrowband </option>
<option value="fr-FR_BroadbandModel">French - Broadband</option>
<option value="fr-FR_NarrowbandModel">French - Narrowband</option>
<!-- <option disabled>_________</option> -->
<option value="ar-AR_BroadbandModel"> Modern Standard Arabic - Broadband </option>
<option value="de-DE_BroadbandModel">German - Broadband</option>
<option value="de-DE_NarrowbandModel">German - Narrowband</option>
<!-- <option disabled>_________</option> -->
<option value="ja-JP_BroadbandModel">Japanese - Broadband</option>
<option value="ja-JP_NarrowbandModel">Japanese - Narrowband</option>
<!-- <option disabled>_________</option> -->
<option value="ar-AR_BroadbandModel">Modern Standard Arabic - Broadband</option>
<!-- <option disabled>_________</option> -->
<option value="pt-BR_BroadbandModel"> Brazilian Portuguese - Broadband</option>
<option value="pt-BR_NarrowbandModel"> Brazilian Portuguese - Narrowband</option>
<option value="pt-BR_BroadbandModel">Brazilian Portuguese - Broadband</option>
<option value="pt-BR_NarrowbandModel">Brazilian Portuguese - Narrowband</option>
<!-- <option disabled>_________</option> -->
<option value="zh-CN_BroadbandModel">Mandarin Chinese - Broadband</option>
<option value="zh-CN_NarrowbandModel">Mandarin Chinese - Narrowband</option>
<!-- <option disabled>_________</option> -->
<option value="zh-CN_BroadbandModel"> Mandarin Chinese - Broadband </option>
<option value="zh-CN_NarrowbandModel">Mandarin Chinese - Narrowband </option>

<option value="ar-AR_BroadbandModel">Modern Standard Arabic - Broadband</option>

<option value="ko-KR_BroadbandModel">Korean - Broadband</option>
<option value="ko-KR_NarrowbandModel">Korean - Narrowband</option>

<!-- TODO: add arabic option -->
</select>
<p class="help-block">choose the language of your media file. The default is English US.</p>
<p class="help-block">IBM® recommends that you use narrowband model for decoding of telephone speech.</p>
Expand Down Expand Up @@ -221,12 +224,12 @@
<!-- Eng Rev languages -->
</div>


<div role="tabpanel" class="tab-pane" id="gentle">
<br>
<label for="languageModel">Gentle/Kaldi Speech To Text:</label><br>
<i> <a href="https://pietropassarelli.gitbooks.io/autoedit2-user-manual/content/setup-stt-apis/setup-stt-apis-gentle.html" target="_blank">See User manual for extra setup needed</a>, Only support US English For now, only works on Mac OSX</i></div>

<div role="tabpanel" class="tab-pane" id="pocketsphinx">
<br>
<label for="languageModel">Pocketsphinx Speech To Text:</label><br>
Expand All @@ -248,7 +251,7 @@
<div role="tabpanel" class="tab-pane" id="captions">
<br>
<label for="languageModel">Captions <code>.srt</code> file:</label><br>

<!-- srt -->
<div class="form-group">
<label for="fileUpload">Choose a caption file to <code>.srt</code> to associate with your audio or video file</label>
Expand Down
Loading

0 comments on commit 2335d74

Please sign in to comment.