samiulhaq commited on
Commit
88bab5b
1 Parent(s): 9421f09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -14,7 +14,12 @@ def en_fr(english_text):
14
 
15
  return translation
16
 
17
- demo =gr.Interface(fn=en_fr,inputs=gr.Textbox(label="English"),outputs=gr.Textbox(label="French"),title=title,description=description)
 
 
 
 
 
18
 
19
  if __name__ =="__main__":
20
  demo.launch()
 
14
 
15
  return translation
16
 
17
+ demo =gr.Interface(fn=en_fr,
18
+ inputs=gr.Textbox(label="English"),
19
+ outputs=gr.Textbox(label="French"),
20
+ title=title,
21
+ description=description,
22
+ examples=[["Hello! My name is Abubakar"], ["How are you?"]])
23
 
24
  if __name__ =="__main__":
25
  demo.launch()