Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def trnslt(TagalogText,Language):
|
|
19 |
|
20 |
iface = gr.Interface(
|
21 |
fn=trnslt,
|
22 |
-
inputs=["
|
23 |
gr.inputs.Radio(["Cebuano","Ilocano","Hiligaynon"],label="Translate to",optional=False)],
|
24 |
outputs='text',
|
25 |
examples=[["Magandang Umaga"],["Magandang gabi"],["Masarap ang Adobo"],["Kumusta Ka Na"],["Bumibili si Juan ng manok"],["Magandang umaga"]],
|
|
|
19 |
|
20 |
iface = gr.Interface(
|
21 |
fn=trnslt,
|
22 |
+
inputs=[gr.inputs.Textbox(label="Input Tagalog Text"),
|
23 |
gr.inputs.Radio(["Cebuano","Ilocano","Hiligaynon"],label="Translate to",optional=False)],
|
24 |
outputs='text',
|
25 |
examples=[["Magandang Umaga"],["Magandang gabi"],["Masarap ang Adobo"],["Kumusta Ka Na"],["Bumibili si Juan ng manok"],["Magandang umaga"]],
|