Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ function closefn(inn) {
|
|
75 |
console.log(inn);
|
76 |
var frame_off = document.getElementById('frame' + String(inn));
|
77 |
var aud = document.getElementById('aud' + String(inn));
|
78 |
-
var
|
79 |
frame_off.style.display = 'none';
|
80 |
let child1 = aud.lastElementChild;
|
81 |
while (child1) {
|
@@ -95,7 +95,7 @@ function readfn(inn, url_in, payload) {
|
|
95 |
console.log(inn);
|
96 |
console.log(url);
|
97 |
var readit = document.getElementById('aud' + String(inn));
|
98 |
-
let api = 'https://broadfield-fast-voice.hf.space/?pdfurl=' + url + '&mod=' + payload['model'];
|
99 |
console.log(api);
|
100 |
let child = readit.lastElementChild;
|
101 |
while (child) {
|
|
|
75 |
console.log(inn);
|
76 |
var frame_off = document.getElementById('frame' + String(inn));
|
77 |
var aud = document.getElementById('aud' + String(inn));
|
78 |
+
var framediv = document.getElementById('framediv' + String(inn));
|
79 |
frame_off.style.display = 'none';
|
80 |
let child1 = aud.lastElementChild;
|
81 |
while (child1) {
|
|
|
95 |
console.log(inn);
|
96 |
console.log(url);
|
97 |
var readit = document.getElementById('aud' + String(inn));
|
98 |
+
let api = 'https://broadfield-fast-voice.hf.space/?pdfurl=' + url + '&mod=' + payload['model'] + '&len=' + payload['length']+ '&nos=' + payload['noise']+ '&wid=' + payload['noise_w'] + '&pau=' + payload['pause'];
|
99 |
console.log(api);
|
100 |
let child = readit.lastElementChild;
|
101 |
while (child) {
|