Spaces:
Sleeping
Sleeping
waxihiv547
commited on
Commit
•
e313354
1
Parent(s):
507df25
Create index.html
Browse files- index.html +23 -0
index.html
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<title>Sovits Chapay</title>
|
5 |
+
</head>
|
6 |
+
<body>
|
7 |
+
<h1>Sovits Chapay</h1>
|
8 |
+
<form action="/inference" method="post" enctype="multipart/form-data">
|
9 |
+
<input type="file" name="audio" accept="audio/*" required>
|
10 |
+
<br>
|
11 |
+
<select name="speaker" required>
|
12 |
+
{% for speaker in speakers %}
|
13 |
+
<option value="{{ speaker }}">{{ speaker }}</option>
|
14 |
+
{% endfor %}
|
15 |
+
</select>
|
16 |
+
<br>
|
17 |
+
<input type="submit" value="Generate">
|
18 |
+
</form>
|
19 |
+
{% if limitation %}
|
20 |
+
<p>Please upload an audio file that is less than 20 seconds.</p>
|
21 |
+
{% endif %}
|
22 |
+
</body>
|
23 |
+
</html>
|