Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,14 +22,9 @@ interface = gr.Interface(
|
|
22 |
outputs="text",
|
23 |
title="Latin to Italian Translator",
|
24 |
description="Translate Latin sentences to Italian using a fine-tuned MarianMT model.",
|
25 |
-
examples=[
|
26 |
-
["Amor vincit omnia."],
|
27 |
-
["Veni, vidi, vici."],
|
28 |
-
["Carpe diem."],
|
29 |
-
["Alea iacta est."]
|
30 |
-
]
|
31 |
)
|
32 |
|
33 |
# Launch the app
|
34 |
if __name__ == "__main__":
|
35 |
-
interface.launch()
|
|
|
22 |
outputs="text",
|
23 |
title="Latin to Italian Translator",
|
24 |
description="Translate Latin sentences to Italian using a fine-tuned MarianMT model.",
|
25 |
+
examples=[["Amor vincit omnia."], ["Veni, vidi, vici."], ["Carpe diem."], ["Alea iacta est."]]
|
|
|
|
|
|
|
|
|
|
|
26 |
)
|
27 |
|
28 |
# Launch the app
|
29 |
if __name__ == "__main__":
|
30 |
+
interface.launch(server_name="0.0.0.0", server_port=7860)
|