Update navigation bar

This commit is contained in:
BenAAndrew
2021-10-05 18:59:25 +01:00
parent f2f6fed8a2
commit 39a25cee89
7 changed files with 5 additions and 44 deletions

View File

@@ -27,8 +27,12 @@
<div class="mb-5 p-4 bg-white shadow-sm">
<div class="row">
<a href="/import-export" class="btn btn-info" style="margin: 0.5rem;">Import/Export</a>
<a href="https://voice-sharing-hub.herokuapp.com/" class="btn btn-info" style="margin: 0.5rem;">Voice Sharing Hub</a>
<a href="/settings" class="btn btn-secondary" style="margin: 0.5rem;">Settings</a>
<div style="margin-right: 0; margin-left:auto;">
<a href="https://voice-cloning-app.readthedocs.io/en/latest/" target="_blank" style="margin: 0.5rem;"><i class="fas fa-book fa-2x"></i></a>
<a href="https://discord.com/invite/wQd7zKCWxT" target="_blank" style="margin: 0.5rem;"><i class="fab fa-discord fa-2x"></i></a>
<a href="https://voice-sharing-hub.herokuapp.com/" target="_blank" style="margin: 0.5rem;"><i class="fas fa-share-square fa-2x"></i></a>
</div>
</div>
<h3 class="text-center">Voice Cloning</h3>
<div class="bs-stepper linear">

View File

@@ -1,37 +0,0 @@
{% extends "simplebase.html" %}
{% block content %}
<h2>Using kindle/audible as data sources</h2>
<p>Audible & kindle are a great source for gathering audio & text data needed for voice cloning.<br>
To build a data source, firstly purchase a matching audible & kindle book (typically referred to <a href="https://www.amazon.co.uk/gp/feature.html?ie=UTF8&docId=1000812303">whispersync</a> on amazon)</p>
<h3>Audible to audio</h3>
<p>To convert an audible audio book to an audio file (.mp3) I use <a href="https://github.com/audiamus/AaxAudioConverter">AaxAudioConverter</a>. Here are the steps to install and use:<br>
<ol>
<li>Download and install the <a href="https://www.microsoft.com/en-gb/p/audiobooks-from-audible/9wzdncrfj1cr">Windows Audible app</a> from the Microsoft store</li>
<li>Open the audible app and download the audiobook you wish to convert</li>
<li>Download <a href="https://github.com/audiamus/AaxAudioConverter/releases/download/v1.16/AaxAudioConverter-1.16-Setup.exe">AaxAudioConverter</a></li>
<li>Run the application and click "Add" in the top left
<br>
<img src="{{ url_for('static', filename='images/aax_step2.png') }}">
</li>
<li>Select the audiobook you downloaded in the audible app</li>
<li>Select "MP3" as the export format and "Single file per AAX file". Then click convert
<br>
<img src="{{ url_for('static', filename='images/aax_step6.png') }}">
</li>
</ol>
<h2>Kindle to text</h2>
<p>To convert a kindle book to text file (.txt):</p>
<ol>
<li>Download and install <a href="http://www.mediafire.com/file/ku208jm2ccqvn1w/KindleForPC-installer-1.17.44183.exe/file">Kindle App version 1.17</a> (NOTE: It must be this version or earlier to work)</li>
<li>Open the kindle app and download the book you wish to convert</li>
<li>Go to "Documents\My Kindle Content" and find your kindle book (.azw file)
<br>
<img src="{{ url_for('static', filename='images/kindle_step3.png') }}">
</li>
<li>Upload this file to <a href="https://onlineconvertfree.com/complete/azw-txt/">Convert to a txt</a></li>
</ol>
<p>If this doesn't work you can also follow the <a href="https://github.com/apprenticeharper/DeDRM_tools/wiki/Exactly-how-to-remove-DRM">DeDRM guide</a></p>
{% endblock %}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -4,7 +4,6 @@
{% endblock %}
{% block content %}
<form method="POST" action="/" enctype="multipart/form-data">
<p>Don't have text/audio yet: <a href="/datasource">Convert a kindle book to data source</a></p>
{% if datasets %}
<div class="tab">
<button class="tablinks active" onclick="openPane(event, 'new')">New dataset</button>

View File

@@ -83,11 +83,6 @@ def get_create_dataset():
return render_template("index.html", datasets=os.listdir(paths["datasets"]), languages=get_languages())
@app.route("/datasource", methods=["GET"])
def get_datasource():
return render_template("datasource.html")
@app.route("/", methods=["POST"])
def create_dataset_post():
min_confidence = float(request.form["confidence"])