Spaces:
Runtime error
Runtime error
Commit
•
a26e780
1
Parent(s):
ff5d921
Update app.py
Browse files
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="
|
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()
|