Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,12 @@ def en_fr(english_text):
|
|
14 |
|
15 |
return translation
|
16 |
|
17 |
-
demo =gr.Interface(fn=en_fr,
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
if __name__ =="__main__":
|
20 |
demo.launch()
|
|
|
14 |
|
15 |
return translation
|
16 |
|
17 |
+
demo =gr.Interface(fn=en_fr,
|
18 |
+
inputs=gr.Textbox(label="English"),
|
19 |
+
outputs=gr.Textbox(label="French"),
|
20 |
+
title=title,
|
21 |
+
description=description,
|
22 |
+
examples=[["Hello! My name is Abubakar"], ["How are you?"]])
|
23 |
|
24 |
if __name__ =="__main__":
|
25 |
demo.launch()
|