Light

Results 90 comments of Light

> Could you add the exact Go sample you use ? It still don't get why the program does not exit at the first log.Fatal. ```go package main import (...

~~but i dont have that file, and there would be no reason to given it was never explained in any doc anywhere?~~ nvm it might be working, ima test it...

Alrighty it wrote my file, but didn't process the inline css inside the string like wkhtml does. ```go // weasyprint var fontconfig text.FontConfiguration const fontmapCache = "cache.fc" fmt.Println("Scanning fonts...") _,...

> Can you post the exact html string you use ? I didn't grasp which CSS you are refering to. https://paste.ofcode.org/iCum4BQTjKeWcQkhexMVJp

PDF result: [AU_PRD_RITM17270697.pdf](https://github.com/user-attachments/files/16258592/AU_PRD_RITM17270697.pdf) Wkhtml from same string generates correct coloring on each cell, and content. it just doesn't load properly for some reason.

> Hi, > > I think you have eventually found the documentation of the top level `HtmlToPdf` entry point. Do you have more specific questions regarding its usage ? >...

> Also, out of curiosity, may I ask why are you looking for a Weasyprint replacement ? rewriting one of my python scripts/pipelines at work in golang.

I see no mention of how to get this working on the colab yet tho? It's not generated or uploaded anywhere that I can see. ckpt_fn = "/data/scratch/pyp/exp_pyp/VoiceCraft/gigaspeech/pretrained_830M/best_bundle.pth"

> @PylotLight you can download the checkpoint from: https://huggingface.co/pyp1/VoiceCraft/tree/main/encodec_4cb2048_giga.th > > and upload to your Colab env maybe? (I'm running on my own Jupyter server based on Docker, so my...

I agree that summarisation should be done properly with other tools which will likely require a full RAG/vector store setup due to the size of the context required. Unless using...