Spaces:
Sleeping
Sleeping
Montazerh82
commited on
Commit
•
81dcda2
1
Parent(s):
b2bb994
add some examples to demo
Browse files
app.py
CHANGED
@@ -19,7 +19,9 @@ def greet(text):
|
|
19 |
|
20 |
|
21 |
demo = gr.Interface(fn=greet, inputs=gr.Textbox(label='input text'), outputs=gr.Textbox(label="output text:"),
|
22 |
-
allow_flagging='never'
|
|
|
|
|
23 |
|
24 |
|
25 |
demo.launch()
|
|
|
19 |
|
20 |
|
21 |
demo = gr.Interface(fn=greet, inputs=gr.Textbox(label='input text'), outputs=gr.Textbox(label="output text:"),
|
22 |
+
allow_flagging='never',
|
23 |
+
examples=['آسمان [MASK] است.',
|
24 |
+
'هوا [MASK] است.'])
|
25 |
|
26 |
|
27 |
demo.launch()
|