diff --git a/app.py b/app.py index 649582a..96f9e4f 100644 --- a/app.py +++ b/app.py @@ -220,7 +220,7 @@ def compute_display_web_rag(quiz): with gr.Row(): url = gr.Textbox( label="URL from which to generate a quiz", - value=examples_to_show[0], + value=examples_to_show.value[0], interactive=True, max_lines=1, ) @@ -229,7 +229,7 @@ def compute_display_web_rag(quiz): ) examples = gr.Examples( - examples=examples_to_show, + examples=examples_to_show.value, inputs=[url], label=["Example URLs"], )