Madhu Chitikela commited on
Commit
bb93bd6
·
1 Parent(s): f7f5956

Fix: Replace invalid buttons param with show_copy_button=True

Browse files
Files changed (1) hide show
  1. gradio_app.py +1 -1
gradio_app.py CHANGED
@@ -477,7 +477,7 @@ with gr.Blocks(
477
  output = gr.Textbox(
478
  label="Fixed Code + Explanation",
479
  lines=13, max_lines=24,
480
- buttons=["copy"],
481
  elem_classes="out-code",
482
  placeholder="✓ Patched code appears here…",
483
  interactive=False,
 
477
  output = gr.Textbox(
478
  label="Fixed Code + Explanation",
479
  lines=13, max_lines=24,
480
+ show_copy_button=True,
481
  elem_classes="out-code",
482
  placeholder="✓ Patched code appears here…",
483
  interactive=False,