Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed May 26, 2024
1 parent aad63fa commit 58c4111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand All @@ -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"],
)
Expand Down

0 comments on commit 58c4111

Please sign in to comment.