BrianL commited on
Commit
6926eb8
·
1 Parent(s): 8f98fed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def trnslt(TagalogText,Language):
19
 
20
  iface = gr.Interface(
21
  fn=trnslt,
22
- inputs=["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"]],
 
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"]],