Spaces:
No application file
No application file
File size: 1,292 Bytes
4467f45 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>English → Urdu Translator</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Noto+Nastaliq+Urdu:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="card">
<h1>🌍 English → Urdu Translator</h1>
<p class="subtitle">
Powered by TensorFlow Encoder–Decoder LSTM
</p>
<form id="translatorForm">
<label>English Sentence</label>
<textarea
id="english"
placeholder="Enter English sentence..."
required
></textarea>
<div class="counter">
<span id="count">0</span> Characters
</div>
<button type="submit">
Translate
</button>
</form>
<div class="loading" id="loading">
Translating...
</div>
<div class="result">
<label>Urdu Translation</label>
<div id="urdu" class="urdu-box">
Your translation will appear here...
</div>
<button id="copyBtn">
Copy Translation
</button>
</div>
</div>
</div>
<script src="{{ url_for('static', filename='app.js') }}"></script>
</body>
</html> |