Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,21 +46,31 @@ def get_transcript(audio_path, task_selection:str, language:str, output_format:s
|
|
| 46 |
return str(SAVE_DIR / f"{filename}.{output_format.lower()}")
|
| 47 |
|
| 48 |
title="""
|
| 49 |
-
<div style="text-align: center; max-width: 500px; margin: 0 auto;">
|
| 50 |
-
<div
|
| 51 |
-
style="
|
| 52 |
display: inline-flex;
|
|
|
|
| 53 |
align-items: center;
|
| 54 |
gap: 0.8rem;
|
| 55 |
font-size: 1.75rem;
|
| 56 |
margin-bottom: 10px;
|
| 57 |
-
"
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
</h1>
|
| 62 |
</div>
|
| 63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
</div>
|
| 65 |
"""
|
| 66 |
|
|
|
|
| 46 |
return str(SAVE_DIR / f"{filename}.{output_format.lower()}")
|
| 47 |
|
| 48 |
title="""
|
| 49 |
+
<div style="text-align: center; max-width: 500px; margin: 0 auto;">
|
| 50 |
+
<div style="
|
|
|
|
| 51 |
display: inline-flex;
|
| 52 |
+
flex-direction: column;
|
| 53 |
align-items: center;
|
| 54 |
gap: 0.8rem;
|
| 55 |
font-size: 1.75rem;
|
| 56 |
margin-bottom: 10px;
|
| 57 |
+
">
|
| 58 |
+
<h1 style="font-weight: 600; text-wrap: nowrap; margin-bottom: 7px;">
|
| 59 |
+
Auto Transcriber π
|
| 60 |
+
</h1>
|
|
|
|
| 61 |
</div>
|
| 62 |
+
</div>
|
| 63 |
+
<div style="text-align: center; font-family: sans-serif; padding: 30px;">
|
| 64 |
+
<h2>π Check out <a href="http://tools3ox.com" target="_blank" style="color: #007bff;">Tools3ox.com</a></h2>
|
| 65 |
+
<p style="font-size: 18px; color: #333;">
|
| 66 |
+
Handy tools. Smart features. No fluff.<br>
|
| 67 |
+
Made for creators, coders, and curious minds.
|
| 68 |
+
</p>
|
| 69 |
+
<a href="http://tools3ox.com" target="_blank">
|
| 70 |
+
<button style="margin-top: 15px; padding: 10px 20px; font-size: 16px; background: #007bff; color: white; border: none; border-radius: 5px; cursor: pointer;">
|
| 71 |
+
π Visit Tools3ox
|
| 72 |
+
</button>
|
| 73 |
+
</a>
|
| 74 |
</div>
|
| 75 |
"""
|
| 76 |
|