dipesh1701
commited on
Commit
•
b0ef2d7
1
Parent(s):
9e6f72f
bug fix
Browse files
app.py
CHANGED
@@ -71,14 +71,14 @@ if __name__ == "__main__":
|
|
71 |
title = "The Master Betters Translator"
|
72 |
|
73 |
app_description = (
|
74 |
-
"This is a beta version of
|
75 |
)
|
76 |
examples = [["English", "Nepali", "Hello, how are you?"]]
|
77 |
|
78 |
gr.Interface(
|
79 |
-
translate_text,
|
80 |
-
inputs,
|
81 |
-
outputs,
|
82 |
title=title,
|
83 |
description=app_description,
|
84 |
examples=examples,
|
|
|
71 |
title = "The Master Betters Translator"
|
72 |
|
73 |
app_description = (
|
74 |
+
"This is a beta version of The Master Betters Translator that utilizes pre-trained language models for translation."
|
75 |
)
|
76 |
examples = [["English", "Nepali", "Hello, how are you?"]]
|
77 |
|
78 |
gr.Interface(
|
79 |
+
fn=translate_text,
|
80 |
+
inputs=inputs,
|
81 |
+
outputs=outputs,
|
82 |
title=title,
|
83 |
description=app_description,
|
84 |
examples=examples,
|