mirror of
https://github.com/malarinv/plume-asr.git
synced 2026-03-08 04:12:35 +00:00
1. Self contained typers
2. Asr force-aligner visualization 3. streamlit state management abstraction 4. new utils / reorganize 5. added verbose flags 6. add tts by name
This commit is contained in:
80
plume/utils/gentle_preview/align.html
Normal file
80
plume/utils/gentle_preview/align.html
Normal file
@@ -0,0 +1,80 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<style>
|
||||
body {font-family: sans-serif; padding-top: 70px; }
|
||||
textarea { width: 500px; height: 20em; }
|
||||
input, textarea { margin: 1em 0; }
|
||||
#header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
width: 100%;
|
||||
background-color: #999;
|
||||
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
|
||||
font-family: Helvetica, sans-serif;
|
||||
}
|
||||
#header, #header a {
|
||||
color: white;
|
||||
}
|
||||
.home {
|
||||
margin: 0;
|
||||
font-size: 125%;
|
||||
font-weight: lighter;
|
||||
text-transform: lowercase;
|
||||
}
|
||||
.home a {
|
||||
margin: 0;
|
||||
background: #666;
|
||||
padding-left: 25px;
|
||||
padding-right: 30px;
|
||||
margin-right: 20px;
|
||||
float: left;
|
||||
text-decoration: none;
|
||||
}
|
||||
.home:hover a {
|
||||
background: #555;
|
||||
}
|
||||
#align-button {
|
||||
background: #CCC;
|
||||
border: 0;
|
||||
font-size: 18px;
|
||||
padding: 10px 30px;
|
||||
cursor: pointer;
|
||||
}
|
||||
#alignment-flags {
|
||||
background: #CCC;
|
||||
border: 0;
|
||||
font-size: 18px;
|
||||
padding: 10px 30px;
|
||||
}
|
||||
#footer {
|
||||
margin-top: 100px;
|
||||
border-top: 1px dotted black;
|
||||
font-size: 8pt;
|
||||
font-style: italic;
|
||||
padding: 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<h1 class="home"><a href="/">Gentle</a></h1>
|
||||
</div>
|
||||
<form action="/transcriptions" method="POST" enctype="multipart/form-data">
|
||||
Audio:<br>
|
||||
<input type=file name=audio><br>
|
||||
<br>
|
||||
Transcript:<br>
|
||||
<textarea name="transcript"></textarea><br>
|
||||
<input id=alignment-flags name=conservative type=checkbox> Conservative<br>
|
||||
<input id=alignment-flags name=disfluency type=checkbox> Include disfluencies<br>
|
||||
<input id="align-button" type=submit value=Align>
|
||||
</form>
|
||||
<div id="footer">
|
||||
<a href="https://lowerquality.com/gentle">Gentle</a> is free software released under the <a href="https://opensource.org/licenses/MIT">MIT license</a>. <a href="https://lowerquality.com/gentle">Homepage</a> | <a href="https://github.com/lowerquality/gentle">Source code</a>.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user