Oysiyl commited on
Commit
ea1dd79
1 Parent(s): 7bf3496

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -12,5 +12,7 @@ def greet(name):
12
  result = tokenizer.decode(outputs[0], skip_special_tokens=True)
13
  return result
14
 
15
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
 
 
16
  demo.launch()
 
12
  result = tokenizer.decode(outputs[0], skip_special_tokens=True)
13
  return result
14
 
15
+ demo = gr.Interface(title="English to Elvish translation!",
16
+ description="<p style='text-align: center'>Provide English text and let's model try to guess the text in Elvish!</p>",
17
+ article = "<p style='text-align: center'>Text Translation English -> Elvish | Demo Model</p>",fn=greet, inputs="text", outputs="text")
18
  demo.launch()