Spaces:
Running
Running
Update templates/index.html
Browse files- templates/index.html +23 -2
templates/index.html
CHANGED
@@ -6,6 +6,17 @@
|
|
6 |
<title>vits-simple-api</title>
|
7 |
<link rel="stylesheet" href="/static/css/style.css">
|
8 |
<link rel="stylesheet" href="/static/css/bootstrap.min.css"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
</head>
|
10 |
<body>
|
11 |
<main class="main-container">
|
@@ -319,8 +330,8 @@
|
|
319 |
</div>
|
320 |
</div>
|
321 |
<div>
|
322 |
-
<h2
|
323 |
-
|
324 |
|
325 |
<p>
|
326 |
Nene_Nanami_Rong_Tang:
|
@@ -420,6 +431,16 @@
|
|
420 |
speakers_link.textContent = speakers_url;
|
421 |
}
|
422 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
423 |
function getLink() {
|
424 |
var text = document.getElementById("input_text" + model_type).value;
|
425 |
var id = document.getElementById("input_id" + model_type).value;
|
|
|
6 |
<title>vits-simple-api</title>
|
7 |
<link rel="stylesheet" href="/static/css/style.css">
|
8 |
<link rel="stylesheet" href="/static/css/bootstrap.min.css"/>
|
9 |
+
<style>
|
10 |
+
body {
|
11 |
+
background-image: url('https://ik.imagekit.io/no2sviql0/default.png');
|
12 |
+
background-position: center;
|
13 |
+
background-size: cover;
|
14 |
+
background-attachment: fixed;
|
15 |
+
background-repeat: no-repeat;
|
16 |
+
font-family: "LXGW WenKai Screen", sans-serif !important;
|
17 |
+
font-size: 23px;
|
18 |
+
}
|
19 |
+
</style>
|
20 |
</head>
|
21 |
<body>
|
22 |
<main class="main-container">
|
|
|
330 |
</div>
|
331 |
</div>
|
332 |
<div>
|
333 |
+
<h2>所有模型均为有版权!请严格遵循模型原作者使用协议!禁止商用!</h2>
|
334 |
+
|
335 |
|
336 |
<p>
|
337 |
Nene_Nanami_Rong_Tang:
|
|
|
431 |
speakers_link.textContent = speakers_url;
|
432 |
}
|
433 |
|
434 |
+
|
435 |
+
function changeFont() {
|
436 |
+
const link = document.createElement("link");
|
437 |
+
link.rel = "stylesheet";
|
438 |
+
link.type = "text/css";
|
439 |
+
link.href = "https://cdn.staticfile.org/lxgw-wenkai-screen-webfont/1.7.0/lxgwwenkaiscreen.css";
|
440 |
+
document.head.append(link);
|
441 |
+
};
|
442 |
+
changeFont();
|
443 |
+
|
444 |
function getLink() {
|
445 |
var text = document.getElementById("input_text" + model_type).value;
|
446 |
var id = document.getElementById("input_id" + model_type).value;
|