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

Add description section

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1,8 +1,9 @@
1
  import re
2
  import requests
 
 
3
  from markdownify import markdownify
4
  from requests.exceptions import RequestException
5
- import gradio as gr
6
 
7
  from utils.preprocessor import Preprocessor
8
 
@@ -41,7 +42,8 @@ demo = gr.Interface(
41
  fn=visit_webpage,
42
  inputs=gr.Textbox(label="Website URL"),
43
  outputs=gr.Textbox(label="Extracted Section, Directory Paths, and File Paths"),
44
- title="Webpage Section and Path Extractor"
 
45
  )
46
 
47
  if __name__ == "__main__":
 
1
  import re
2
  import requests
3
+ import gradio as gr
4
+
5
  from markdownify import markdownify
6
  from requests.exceptions import RequestException
 
7
 
8
  from utils.preprocessor import Preprocessor
9
 
 
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
  )
48
 
49
  if __name__ == "__main__":