bogeumkim commited on
Commit
f861aef
·
1 Parent(s): 85ca354

Add copy button to output textbox

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def visit_webpage(url, max_output_length=40000):
41
  demo = gr.Interface(
42
  fn=visit_webpage,
43
  inputs=gr.Textbox(label="Website URL"),
44
- outputs=gr.Textbox(label="Extracted Section, Directory Paths, and File Paths"),
45
  title="Webpage Section and Path Extractor",
46
  description="Enter a website URL. This tool fetches the page, extracts a markdown section, and lists directory paths and files found in that section."
47
  )
 
41
  demo = gr.Interface(
42
  fn=visit_webpage,
43
  inputs=gr.Textbox(label="Website URL"),
44
+ outputs=gr.Textbox(label="Extracted Section, Directory Paths, and File Paths", show_copy_button=True),
45
  title="Webpage Section and Path Extractor",
46
  description="Enter a website URL. This tool fetches the page, extracts a markdown section, and lists directory paths and files found in that section."
47
  )