Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,4 +12,9 @@ def translate(text):
|
|
12 |
# Create Gradio interface
|
13 |
iface = gr.Interface(fn=translate,
|
14 |
inputs="text",
|
15 |
-
outputs="text
|
|
|
|
|
|
|
|
|
|
|
|
12 |
# Create Gradio interface
|
13 |
iface = gr.Interface(fn=translate,
|
14 |
inputs="text",
|
15 |
+
outputs="text",
|
16 |
+
title="Language Translator",
|
17 |
+
description="Translate any language to English")
|
18 |
+
|
19 |
+
if __name__ == "__main__":
|
20 |
+
iface.launch()
|