shubhankargaur commited on
Commit
a26e780
1 Parent(s): ff5d921

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,6 +12,6 @@ def get_input(text):
12
  translation = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
13
  return translation
14
 
15
- iface = gr.Interface(fn=get_input,inputs="Text In English",outputs="Translated Text", title = "English to Hindi Translator",description="Translate the text given in English to Hindi")
16
 
17
  iface.launch()
 
12
  translation = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
13
  return translation
14
 
15
+ iface = gr.Interface(fn=get_input,inputs="text",outputs="text", title = "English to Hindi Translator",description="Translate the text given in English to Hindi")
16
 
17
  iface.launch()