titles
Browse files
app.py
CHANGED
@@ -37,9 +37,9 @@ def extract_text(url: str):
|
|
37 |
|
38 |
|
39 |
title = gr.Textbox(label="Title")
|
40 |
-
text = gr.Textbox(label="Text", lines=10)
|
41 |
-
clean_html = gr.Textbox(label="Clean HTML", lines=10)
|
42 |
-
html = gr.Textbox(label="Raw HTML", lines=10)
|
43 |
demo = gr.Interface(
|
44 |
extract_text,
|
45 |
gr.Textbox(placeholder="https://hf.co/", label="URL"),
|
|
|
37 |
|
38 |
|
39 |
title = gr.Textbox(label="Title")
|
40 |
+
text = gr.Textbox(label="Text (`inscriptis` output)", lines=10)
|
41 |
+
clean_html = gr.Textbox(label="Clean HTML (`readability-lxml` output)", lines=10)
|
42 |
+
html = gr.Textbox(label="Raw HTML response", lines=10)
|
43 |
demo = gr.Interface(
|
44 |
extract_text,
|
45 |
gr.Textbox(placeholder="https://hf.co/", label="URL"),
|