Added warning about starting from disk location
This commit is contained in:
1 parent
c78927b80a
commit
08a04ba506
1 file changed
+3
-2
@@ -6,7 +6,6 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="icon" href="./favicon.ico" type="image/x-icon">
|
<link rel="icon" href="./favicon.ico" type="image/x-icon">
|
||||||
<title>AllTalk TTS Generator</title>
|
<title>AllTalk TTS Generator</title>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
body,
|
body,
|
||||||
textarea,
|
textarea,
|
||||||
@@ -1985,9 +1984,11 @@ function updatePaginationControls() {
|
|||||||
window.onload = function () {
|
window.onload = function () {
|
||||||
setupPage();
|
setupPage();
|
||||||
hideProgress(); // Ensure the progress indicator is hidden on page load
|
hideProgress(); // Ensure the progress indicator is hidden on page load
|
||||||
|
if (window.location.protocol !== 'http:' && window.location.protocol !== 'https:') {
|
||||||
|
alert('AllTalk TTS Generator is not designed to be run from your disk folder. Please run it from the correct URL e.g. http://127.0.0.1:7851/static/tts_chunk_player/tts_chunk_player.html');
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user