Spaces:
Runtime error
Runtime error
File size: 309 Bytes
615e11c |
1 2 3 4 5 6 7 8 9 10 11 12 |
import gradio as gr
with gr.Blocks() as demo:
text1 = gr.Text()
text2 = gr.Text()
with gr.Row():
examples = [[str(i), 'a'] for i in range(10)]
gr.Examples(examples=examples,
inputs=[text1, text2],
examples_per_page=5)
demo.queue().launch()
|