Spaces:
Build error
Build error
Commit
·
5051968
1
Parent(s):
16dd818
additional commits
Browse files
app.py
CHANGED
@@ -48,10 +48,10 @@ def get_translation(source_sentence,type_=2):
|
|
48 |
title = "Interact with Masakhane Benchmark Models"
|
49 |
description = "Interact with Masakhane Benchmark Models"
|
50 |
iface = gr.Interface(fn=get_translation,
|
51 |
-
inputs=[gr.inputs.Textbox(label="
|
52 |
outputs='text',
|
53 |
title=title,
|
54 |
description=description,
|
55 |
-
examples=[["God is great that he sent Jesus to help us"
|
56 |
enable_queue=True)
|
57 |
iface.launch()
|
|
|
48 |
title = "Interact with Masakhane Benchmark Models"
|
49 |
description = "Interact with Masakhane Benchmark Models"
|
50 |
iface = gr.Interface(fn=get_translation,
|
51 |
+
inputs=[gr.inputs.Textbox(label="input")],
|
52 |
outputs='text',
|
53 |
title=title,
|
54 |
description=description,
|
55 |
+
examples=[["God is great that he sent Jesus to help us"]],
|
56 |
enable_queue=True)
|
57 |
iface.launch()
|