Skip to content
Snippets Groups Projects
Commit a536baa2 authored by Sharat Patil's avatar Sharat Patil
Browse files

updated with copy button

parent 5c21a89c
Branches
No related tags found
3 merge requests!4Saturn adam,!3Saturn,!1Init
Pipeline #262884 canceled
......@@ -170,7 +170,7 @@ with gr.Blocks() as demo:
with gr.Row():
for i in range(n):
with gr.Column():
output_text.append(gr.Textbox(label=f"LLM Generated query {i+1}", max_lines=100, interactive=True, submit_btn=True))
output_text.append(gr.Textbox(label=f"LLM Generated query {i+1}", max_lines=100, interactive=True, submit_btn=True, show_copy_button=True))
hidden_text.append(gr.Textbox(label=f"Original LLM Generated query {i+1}", interactive=False, visible=False))
hidden_all_text = gr.Textbox(label="All LLM Generated queries", interactive=False, visible=False)
# rating.append(gr.CheckboxGroup(["👍", "👎"], label="Rating", info="👍 Upvote or 👎 Downvote"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment