Update
Browse files
app.py
CHANGED
@@ -6,6 +6,6 @@ with gr.Blocks() as demo:
|
|
6 |
text = gr.Text()
|
7 |
out = gr.Text()
|
8 |
btn = gr.Button()
|
9 |
-
|
10 |
btn.click(fn=lambda x: x, inputs=text, outputs=out, api_name='run')
|
11 |
demo.queue().launch()
|
|
|
6 |
text = gr.Text()
|
7 |
out = gr.Text()
|
8 |
btn = gr.Button()
|
9 |
+
gr.Examples(examples=['aaa', 'bbb'], inputs=text)
|
10 |
btn.click(fn=lambda x: x, inputs=text, outputs=out, api_name='run')
|
11 |
demo.queue().launch()
|