Spaces:
Sleeping
Sleeping
Commit
·
b4bb744
1
Parent(s):
b95c297
Update app.py
Browse files
app.py
CHANGED
@@ -39,11 +39,8 @@ def translate(inp, direction):
|
|
39 |
|
40 |
|
41 |
description = """
|
42 |
-
<
|
43 |
-
<
|
44 |
-
This app is built as part of an MS project, the app leverages advanced Transformer models and custom-trained tokenizers to deliver accurate and context-aware translations
|
45 |
-
</center>
|
46 |
-
</p>
|
47 |
"""
|
48 |
article = "<p style='text-align: center'>Created by: <a href='https://www.linkedin.com/in/syedhuzaifanafees/' target='_blank'>Syed Huzaifa Nafees</a> | Supervisor: <a href='https://www.linkedin.com/in/shaider/' target='_blank'>Dr. Sajjad Haider</a> | Contact: <a href='mailto:[email protected]' target='_blank'>Huzaifa</a></p></center></p>"
|
49 |
examples = [
|
@@ -52,7 +49,7 @@ examples = [
|
|
52 |
]
|
53 |
iface = gr.Interface(
|
54 |
fn=translate,
|
55 |
-
title="English-Urdu Translation",
|
56 |
description=description,
|
57 |
article=article,
|
58 |
examples=examples,
|
|
|
39 |
|
40 |
|
41 |
description = """
|
42 |
+
<div class="title">English-Urdu Translation</div>
|
43 |
+
<div class="description">This app leverages advanced Transformer models and custom-trained tokenizers to deliver accurate and context-aware translations.</div>
|
|
|
|
|
|
|
44 |
"""
|
45 |
article = "<p style='text-align: center'>Created by: <a href='https://www.linkedin.com/in/syedhuzaifanafees/' target='_blank'>Syed Huzaifa Nafees</a> | Supervisor: <a href='https://www.linkedin.com/in/shaider/' target='_blank'>Dr. Sajjad Haider</a> | Contact: <a href='mailto:[email protected]' target='_blank'>Huzaifa</a></p></center></p>"
|
46 |
examples = [
|
|
|
49 |
]
|
50 |
iface = gr.Interface(
|
51 |
fn=translate,
|
52 |
+
#title="English-Urdu Translation",
|
53 |
description=description,
|
54 |
article=article,
|
55 |
examples=examples,
|