Spaces:
Runtime error
Runtime error
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() | |