Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def trnslt(text,lnguage):
|
|
19 |
|
20 |
iface = gr.Interface(
|
21 |
fn=trnslt,
|
22 |
-
inputs="text",
|
23 |
outputs='text',
|
24 |
examples=[["Magandang Umaga"],["Magandang gabi"],["Masarap ang Adobo"],["Kumusta Ka Na"],["Magandang umaga"]],
|
25 |
theme="darkpeach",
|
|
|
19 |
|
20 |
iface = gr.Interface(
|
21 |
fn=trnslt,
|
22 |
+
inputs="text",gr.inputs.Radio(["Cebuano","Ilocano","Hiligaynon"]),
|
23 |
outputs='text',
|
24 |
examples=[["Magandang Umaga"],["Magandang gabi"],["Masarap ang Adobo"],["Kumusta Ka Na"],["Magandang umaga"]],
|
25 |
theme="darkpeach",
|