This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pypdf import PdfReader | |
from pathlib import Path | |
import os | |
import logging | |
from langchain_community.document_loaders import PyPDFLoader | |
import pymupdf | |
logging.basicConfig(level=logging.INFO) | |
INPUT_DIR = os.path.join(os.getcwd(), Path("doc_repo/")) | |
OUTPUT_DIR = os.path.join(os.getcwd(), Path("output_docs")) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
import { fade, fly } from 'svelte/transition'; | |
let statusDial = false; | |
const openDial = () => statusDial = true; | |
const closeDial = () => statusDial = false; | |
const handleDial = () => statusDial ? closeDial() : openDial(); | |
</script> | |
<!-- svelte-ignore a11y-no-static-element-interactions --> | |
<nav class="flex justify-between flex-wrap p-4 px-2 relative"> | |
<div on:mouseleave={closeDial} class="relative p-2"> |