Integrate custom Web GUI assets, templates, and config.yaml; adapt for LocalAI
Mirror and run GitLab CI / build (push) Has been cancelled
Mirror and run GitLab CI / build (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>A.P.Strom Transcription</title>
|
||||
|
||||
<!-- Importing Cormorant Garamond font from Google Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&display=swap" rel="stylesheet">
|
||||
|
||||
<style>
|
||||
.header-container {{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
padding-top: 30px;
|
||||
}}
|
||||
|
||||
.logo-container {{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 20px;
|
||||
transform: translateY(-50%);
|
||||
width: 300px;
|
||||
}}
|
||||
|
||||
.logo {{
|
||||
width: 35%;
|
||||
height: auto;
|
||||
}}
|
||||
|
||||
.header-title {{
|
||||
font-family: 'Cormorant Garamond', serif;
|
||||
font-size: 50px !important;
|
||||
font-weight: bold;
|
||||
color: #7C6DA0;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
padding: 0.5em 0;
|
||||
}}
|
||||
|
||||
.header-title::before, .header-title::after {{
|
||||
content: "";
|
||||
position: absolute;
|
||||
height: 2px;
|
||||
width: 80%;
|
||||
background-color: #7C6DA0;
|
||||
left: 10%;
|
||||
}}
|
||||
|
||||
.header-title::before {{
|
||||
top: 0.5em;
|
||||
}}
|
||||
|
||||
.header-title::after {{
|
||||
bottom: 0.5em;
|
||||
}}
|
||||
|
||||
p, h2 {{
|
||||
font-size: 16px;
|
||||
margin: 10px 0;
|
||||
line-height: 1.4;
|
||||
}}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="header-container">
|
||||
<h1 class="header-title">A.P.Strom Transcription</h1>
|
||||
<div class="logo-container">
|
||||
<a href="{header_logo_url}">
|
||||
<img src="./gradio_api/file={header_logo_src}" alt="A.P.Strom Logo" class="logo">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="text-align: center; padding: 20px 10%;">
|
||||
<p>
|
||||
Upload, record, or provide a video with audio for transcription. Our toolkit is designed to transcribe content from multiple languages accurately. The integrated speaker diarisation feature identifies different speakers, ensuring a smooth transcription experience. For optimal results, indicate the number of speakers and the original language of the content.
|
||||
</p>
|
||||
<h2 style="font-weight: bold; color: #7C6DA0;">Start your transcription below.</h2>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user