Update app.py
Browse files
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(
|
|
|
|
|
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()
|