Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -72,11 +72,8 @@ def process_url(url, link_types):
|
|
72 |
all_links.append("\n".join(['## ' + text, f"[{text}]({link})"]))
|
73 |
|
74 |
# Generate final content with proper spacing
|
75 |
-
|
76 |
-
|
77 |
-
> {meta_desc}
|
78 |
-
|
79 |
-
{"\n\n".join(all_links)}"""
|
80 |
|
81 |
finally:
|
82 |
# Cleanup temporary file
|
|
|
72 |
all_links.append("\n".join(['## ' + text, f"[{text}]({link})"]))
|
73 |
|
74 |
# Generate final content with proper spacing
|
75 |
+
links_text = "\n\n".join(all_links)
|
76 |
+
final_content = f"# {title}\n\n> {meta_desc}\n\n{links_text}"
|
|
|
|
|
|
|
77 |
|
78 |
finally:
|
79 |
# Cleanup temporary file
|