{ // 获取包含Hugging Face文本的span元素 const spans = link.querySelectorAll('span.whitespace-nowrap, span.hidden.whitespace-nowrap'); spans.forEach(span => { if (span.textContent && span.textContent.trim().match(/Hugging\s*Face/i)) { span.textContent = 'AI快站'; } }); }); // 替换logo图片的alt属性 document.querySelectorAll('img[alt*="Hugging"], img[alt*="Face"]').forEach(img => { if (img.alt.match(/Hugging\s*Face/i)) { img.alt = 'AI快站 logo'; } }); } // 替换导航栏中的链接 function replaceNavigationLinks() { // 已替换标记,防止重复运行 if (window._navLinksReplaced) { return; } // 已经替换过的链接集合,防止重复替换 const replacedLinks = new Set(); // 只在导航栏区域查找和替换链接 const headerArea = document.querySelector('header') || document.querySelector('nav'); if (!headerArea) { return; } // 在导航区域内查找链接 const navLinks = headerArea.querySelectorAll('a'); navLinks.forEach(link => { // 如果已经替换过,跳过 if (replacedLinks.has(link)) return; const linkText = link.textContent.trim(); const linkHref = link.getAttribute('href') || ''; // 替换Spaces链接 - 仅替换一次 if ( (linkHref.includes('/spaces') || linkHref === '/spaces' || linkText === 'Spaces' || linkText.match(/^s*Spacess*$/i)) && linkText !== '免费Z-image图片生成' && linkText !== '免费Z-image图片生成' ) { link.textContent = '免费Z-image图片生成'; link.href = 'https://zimage.run'; link.setAttribute('target', '_blank'); link.setAttribute('rel', 'noopener noreferrer'); replacedLinks.add(link); } // 删除Posts链接 else if ( (linkHref.includes('/posts') || linkHref === '/posts' || linkText === 'Posts' || linkText.match(/^s*Postss*$/i)) ) { if (link.parentNode) { link.parentNode.removeChild(link); } replacedLinks.add(link); } // 替换Docs链接 - 仅替换一次 else if ( (linkHref.includes('/docs') || linkHref === '/docs' || linkText === 'Docs' || linkText.match(/^s*Docss*$/i)) && linkText !== 'Vibevoice' ) { link.textContent = 'Vibevoice'; link.href = 'https://vibevoice.info/'; replacedLinks.add(link); } // 替换Pricing链接 - 仅替换一次 else if ( (linkHref.includes('/pricing') || linkHref === '/pricing' || linkText === 'Pricing' || linkText.match(/^s*Pricings*$/i)) && linkText !== '免费去水印' ) { link.textContent = '免费去水印'; link.href = 'https://sora2watermarkremover.net/'; replacedLinks.add(link); } // 替换Enterprise链接 else if ( (linkHref.includes('/enterprise') || linkHref === '/enterprise' || linkText === 'Enterprise' || linkText.match(/^s*Enterprises*$/i)) && linkText !== 'LTX-2' ) { link.textContent = 'LTX-2'; link.href = 'https://ltx-2.run/'; replacedLinks.add(link); } }); // 查找可能嵌套的Spaces和Posts文本 const textNodes = []; function findTextNodes(element) { if (element.nodeType === Node.TEXT_NODE) { const text = element.textContent.trim(); if (text === 'Spaces' || text === 'Posts' || text === 'Enterprise') { textNodes.push(element); } } else { for (const child of element.childNodes) { findTextNodes(child); } } } // 只在导航区域内查找文本节点 findTextNodes(headerArea); // 替换找到的文本节点 textNodes.forEach(node => { const text = node.textContent.trim(); if (text === 'Spaces') { node.textContent = node.textContent.replace(/Spaces/g, '免费Z-image图片生成'); } else if (text === 'Posts') { // 删除Posts文本节点 if (node.parentNode) { node.parentNode.removeChild(node); } } else if (text === 'Enterprise') { // 删除Enterprise文本节点 if (node.parentNode) { node.parentNode.removeChild(node); } } }); // 标记已替换完成 window._navLinksReplaced = true; } // 替换代码区域中的域名 function replaceCodeDomains() { // 特别处理span.hljs-string和span.njs-string元素 document.querySelectorAll('span.hljs-string, span.njs-string, span[class*="hljs-string"], span[class*="njs-string"]').forEach(span => { if (span.textContent && span.textContent.includes('huggingface.co')) { span.textContent = span.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 替换hljs-string类的span中的域名(移除多余的转义符号) document.querySelectorAll('span.hljs-string, span[class*="hljs-string"]').forEach(span => { if (span.textContent && span.textContent.includes('huggingface.co')) { span.textContent = span.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 替换pre和code标签中包含git clone命令的域名 document.querySelectorAll('pre, code').forEach(element => { if (element.textContent && element.textContent.includes('git clone')) { const text = element.innerHTML; if (text.includes('huggingface.co')) { element.innerHTML = text.replace(/huggingface.co/g, 'aifasthub.com'); } } }); // 处理特定的命令行示例 document.querySelectorAll('pre, code').forEach(element => { const text = element.innerHTML; if (text.includes('huggingface.co')) { // 针对git clone命令的专门处理 if (text.includes('git clone') || text.includes('GIT_LFS_SKIP_SMUDGE=1')) { element.innerHTML = text.replace(/huggingface.co/g, 'aifasthub.com'); } } }); // 特别处理模型下载页面上的代码片段 document.querySelectorAll('.flex.border-t, .svelte_hydrator, .inline-block').forEach(container => { const content = container.innerHTML; if (content && content.includes('huggingface.co')) { container.innerHTML = content.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 特别处理模型仓库克隆对话框中的代码片段 try { // 查找包含"Clone this model repository"标题的对话框 const cloneDialog = document.querySelector('.svelte_hydration_boundary, [data-target="MainHeader"]'); if (cloneDialog) { // 查找对话框中所有的代码片段和命令示例 const codeElements = cloneDialog.querySelectorAll('pre, code, span'); codeElements.forEach(element => { if (element.textContent && element.textContent.includes('huggingface.co')) { if (element.innerHTML.includes('huggingface.co')) { element.innerHTML = element.innerHTML.replace(/huggingface.co/g, 'aifasthub.com'); } else { element.textContent = element.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } } }); } // 更精确地定位克隆命令中的域名 document.querySelectorAll('[data-target]').forEach(container => { const codeBlocks = container.querySelectorAll('pre, code, span.hljs-string'); codeBlocks.forEach(block => { if (block.textContent && block.textContent.includes('huggingface.co')) { if (block.innerHTML.includes('huggingface.co')) { block.innerHTML = block.innerHTML.replace(/huggingface.co/g, 'aifasthub.com'); } else { block.textContent = block.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } } }); }); } catch (e) { // 错误处理但不打印日志 } } // 当DOM加载完成后执行替换 if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', () => { replaceHeaderBranding(); replaceNavigationLinks(); replaceCodeDomains(); // 只在必要时执行替换 - 3秒后再次检查 setTimeout(() => { if (!window._navLinksReplaced) { console.log('[Client] 3秒后重新检查导航链接'); replaceNavigationLinks(); } }, 3000); }); } else { replaceHeaderBranding(); replaceNavigationLinks(); replaceCodeDomains(); // 只在必要时执行替换 - 3秒后再次检查 setTimeout(() => { if (!window._navLinksReplaced) { console.log('[Client] 3秒后重新检查导航链接'); replaceNavigationLinks(); } }, 3000); } // 增加一个MutationObserver来处理可能的动态元素加载 const observer = new MutationObserver(mutations => { // 检查是否导航区域有变化 const hasNavChanges = mutations.some(mutation => { // 检查是否存在header或nav元素变化 return Array.from(mutation.addedNodes).some(node => { if (node.nodeType === Node.ELEMENT_NODE) { // 检查是否是导航元素或其子元素 if (node.tagName === 'HEADER' || node.tagName === 'NAV' || node.querySelector('header, nav')) { return true; } // 检查是否在导航元素内部 let parent = node.parentElement; while (parent) { if (parent.tagName === 'HEADER' || parent.tagName === 'NAV') { return true; } parent = parent.parentElement; } } return false; }); }); // 只在导航区域有变化时执行替换 if (hasNavChanges) { // 重置替换状态,允许再次替换 window._navLinksReplaced = false; replaceHeaderBranding(); replaceNavigationLinks(); } }); // 开始观察document.body的变化,包括子节点 if (document.body) { observer.observe(document.body, { childList: true, subtree: true }); } else { document.addEventListener('DOMContentLoaded', () => { observer.observe(document.body, { childList: true, subtree: true }); }); } })(); \n\n\n\n\nWe are a legal tech startup based in Algeria, dedicated to facilitating access to justice for all. Our legal intelligence platform aims to bridge the gap between litigants and legal professionals while serving as a decision-making tool for the latter.\n\n## Overview\n\nAt Wessini, we believe in the positive impact of technology in improving the legal landscape. Our mission is to bridge the gap between citizens and the law by simplifying understanding and navigation within the Algerian legal system.\n\n## Our Commitment\n\nWe take pride in making access to justice faster and simpler. Our goal is to build trust between legal professionals and the public by offering accessible legal advice to all.\n\n## Our Vision\n\nAt Wessini, we are passionate about our mission and strive to create a better future for everyone in Africa. We believe in equitable access to justice for all and are excited to realize this vision through our platform.\n\n## Key Information\n\n- **Website:** [Wessini](https://wessini.co)\n- **Phone:** 020273907\n- **Industry:** Legal Services\n- **Founded:** 2022\n\n## Specialties\n\n- Digital Consulting\n- AI & Law\n- Law NLP\n- Digital Lawyer Firm\n\nThank you for choosing Wessini for your legal needs. Please feel free to contact us for any questions or assistance.\n","html":"\n

\n Welcome to Wessini! \n

\n

\n \"Finetuner\n

\n\n\n\n\n\n

We are a legal tech startup based in Algeria, dedicated to facilitating access to justice for all. Our legal intelligence platform aims to bridge the gap between litigants and legal professionals while serving as a decision-making tool for the latter.

\n

Overview

\n

At Wessini, we believe in the positive impact of technology in improving the legal landscape. Our mission is to bridge the gap between citizens and the law by simplifying understanding and navigation within the Algerian legal system.

\n

Our Commitment

\n

We take pride in making access to justice faster and simpler. Our goal is to build trust between legal professionals and the public by offering accessible legal advice to all.

\n

Our Vision

\n

At Wessini, we are passionate about our mission and strive to create a better future for everyone in Africa. We believe in equitable access to justice for all and are excited to realize this vision through our platform.

\n

Key Information

\n
    \n
  • Website: Wessini
  • \n
  • Phone: 020273907
  • \n
  • Industry: Legal Services
  • \n
  • Founded: 2022
  • \n
\n

Specialties

\n
    \n
  • Digital Consulting
  • \n
  • AI & Law
  • \n
  • Law NLP
  • \n
  • Digital Lawyer Firm
  • \n
\n

Thank you for choosing Wessini for your legal needs. Please feel free to contact us for any questions or assistance.

\n","classNames":"hf-sanitized hf-sanitized-Jed91dd2pYycRT4YoEWjP"},"users":[{"_id":"63e65cdf2d704152abb02cc2","avatarUrl":"https://aifasthub.com/avatars/v1/production/uploads/1676041403138-noauth.jpeg","isPro":false,"fullname":"Sidahmed Belkadi","user":"sbelkadi","type":"user"},{"_id":"652c1881e0f39e3bae62709d","avatarUrl":"/avatars/b2d55c417c4a36be65f7f8ffa7bec3eb.svg","isPro":false,"fullname":"Mohand Boukhedami","user":"Mboukhedami","type":"user"},{"_id":"65a1739b4ebf36f82642d68c","avatarUrl":"/avatars/2f91d45b1dacb6c67b7c16ed96f08785.svg","isPro":false,"fullname":"Seriak ","user":"Toufik123","type":"user"}],"userCount":3,"collections":[],"datasets":[],"models":[],"paperPreviews":[],"spaces":[],"numDatasets":0,"numModels":0,"numSpaces":1,"lastOrgActivities":[],"acceptLanguages":["*"],"canReadRepos":false,"canReadSpaces":false,"blogPosts":[],"currentRepoPage":0,"filters":{},"orgEmailDomain":"wessini.co","paperView":false}">

AI & ML interests

Deep Learning | Data & Information Retrieval | Machine Learning | Generative AI | LLM's | Quantization

Welcome to Wessini!

Finetuner logo: Finetuner helps you to create experiments in order to improve embeddings on search tasks. It accompanies you to deliver the last mile of performance-tuning for neural search applications.

We are a legal tech startup based in Algeria, dedicated to facilitating access to justice for all. Our legal intelligence platform aims to bridge the gap between litigants and legal professionals while serving as a decision-making tool for the latter.

Overview

At Wessini, we believe in the positive impact of technology in improving the legal landscape. Our mission is to bridge the gap between citizens and the law by simplifying understanding and navigation within the Algerian legal system.

Our Commitment

We take pride in making access to justice faster and simpler. Our goal is to build trust between legal professionals and the public by offering accessible legal advice to all.

Our Vision

At Wessini, we are passionate about our mission and strive to create a better future for everyone in Africa. We believe in equitable access to justice for all and are excited to realize this vision through our platform.

Key Information

  • Website: Wessini
  • Phone: 020273907
  • Industry: Legal Services
  • Founded: 2022

Specialties

  • Digital Consulting
  • AI & Law
  • Law NLP
  • Digital Lawyer Firm

Thank you for choosing Wessini for your legal needs. Please feel free to contact us for any questions or assistance.

models 0

None public yet

datasets 0

None public yet