Update app.py
Browse files
app.py
CHANGED
|
@@ -112,7 +112,7 @@ iface = gr.Interface(
|
|
| 112 |
gr.outputs.Textbox(label="Translated text"),
|
| 113 |
gr.outputs.Label(label="Detected languages", num_top_classes=3)
|
| 114 |
],
|
| 115 |
-
title="Translation Interface",
|
| 116 |
description="Type something in any language below and then click Run to see the output in the chosen target language.",
|
| 117 |
examples=[["Wie geht es Dir?", "fr"], ["Do you need help?", "de"]],
|
| 118 |
article="## Text Examples",
|
|
@@ -128,7 +128,7 @@ iface = gr.Interface(
|
|
| 128 |
iface.queue(concurrency_count=3)
|
| 129 |
# Run the Gradio interface
|
| 130 |
#iface.launch(share=True)
|
| 131 |
-
iface.launch(
|
| 132 |
|
| 133 |
|
| 134 |
|
|
|
|
| 112 |
gr.outputs.Textbox(label="Translated text"),
|
| 113 |
gr.outputs.Label(label="Detected languages", num_top_classes=3)
|
| 114 |
],
|
| 115 |
+
title="🧐 Translation Interface",
|
| 116 |
description="Type something in any language below and then click Run to see the output in the chosen target language.",
|
| 117 |
examples=[["Wie geht es Dir?", "fr"], ["Do you need help?", "de"]],
|
| 118 |
article="## Text Examples",
|
|
|
|
| 128 |
iface.queue(concurrency_count=3)
|
| 129 |
# Run the Gradio interface
|
| 130 |
#iface.launch(share=True)
|
| 131 |
+
iface.launch(debug=True)
|
| 132 |
|
| 133 |
|
| 134 |
|