from pathlib import Path HERE = Path(__file__).parent import sys sys.path.append(HERE) from utils import GParse_Paper, Get_Bibliography, Normalize_Section import solara from bs4 import BeautifulSoup from solara.components.file_drop import FileInfo from packaging.version import Version, InvalidVersion from bs4 import NavigableString,Tag import requests app_style = (HERE / "style.css").read_text() def Get_HTMLTop(title): # Top part of HTML html_top = f"""
{new_paragraph}
" raw_text += "\n" + paragraph.text sections_content += "