Update app.py
Browse files
app.py
CHANGED
@@ -116,10 +116,14 @@ def download_and_process_web_page(url):
|
|
116 |
|
117 |
iface = gr.Interface(
|
118 |
fn=download_and_process_web_page,
|
119 |
-
|
120 |
-
|
|
|
|
|
|
|
|
|
121 |
title="Enhanced Web Page Processor for Hugging Face Chat Tools",
|
122 |
-
description="Enter the URL of a web page. The tool will extract and format its content, including text, links, and images.",
|
123 |
concurrency_limit=None,
|
124 |
api_name="main"
|
125 |
)
|
|
|
116 |
|
117 |
iface = gr.Interface(
|
118 |
fn=download_and_process_web_page,
|
119 |
+
inputs=[
|
120 |
+
gr.Textbox(lines=1, placeholder="Enter URL of the web page"),
|
121 |
+
],
|
122 |
+
outputs=[
|
123 |
+
gr.Markdown(label="Web Page Content"),
|
124 |
+
],
|
125 |
title="Enhanced Web Page Processor for Hugging Face Chat Tools",
|
126 |
+
description="Enter the URL of a web page. The tool will extract and format its content, including text, links, and images. This tool is designed for use with Hugging Face Chat Tools. \n [https://hf.co/chat/tools/66f1a8159d41ad4398ebb711](https://hf.co/chat/tools/66f1a8159d41ad4398ebb711)",
|
127 |
concurrency_limit=None,
|
128 |
api_name="main"
|
129 |
)
|