Skip to content

Instantly share code, notes, and snippets.

@coinbridge1111
coinbridge1111 / mkconfig.py
Last active February 15, 2026 02:39
Voice Engine RunPod Deploy
import json
m={}
with open("/workspace/voice-engine/models/glados-onnx/tokens.txt") as f:
for l in f:
l=l.strip()
if not l:
continue
p=l.rsplit(" ",1)
if len(p)==2:
m[p[0]]=[int(p[1])]