kerzgrr
PYTHON
Verdict: BENIGN
AI
Legitimate game application code
Local reference
Suspicious dependency
Inferred
| 4 |
Deps: |
|
| 5 |
pip install torch numpy pillow safetensors huggingface_hub diffusers |
|
| 1081 |
root = Path(local_dir) |
|
| 1082 |
root.mkdir(parents=True, exist_ok=True) |
|
| 1083 |
for name in ("config.json", "ema.safetensors"): |
|
| 1084 |
hf_hub_download( |
Hugging Face Hub model download call |
| 1085 |
repo_id=repo, |
|
| 1086 |
filename=name, |
|
| 1087 |
revision=revision, |
|
| 1098 |
def _load_settings(config_path: Path) -> tuple[VideoConfig, ModelConfig, CodecSettings]: |
|
| 1099 |
raw = json.loads(config_path.read_text(encoding="utf-8")) |
Python json.loads call |
| 1100 |
video = VideoConfig(**{key: raw["video"][key] for key in VideoConfig.__dataclass_fields__}) |
|
| 1101 |
model = ModelConfig(**{key: raw["model"][key] for key in ModelConfig.__dataclass_fields__}) |
|
| 1102 |
codec_raw = raw["codec"] |
|
| 1192 |
def __init__(self, scale: int) -> None: |
|
| 1193 |
self.scale = max(1, scale) |
|
| 1194 |
self.is_open = True |
|
| 1195 |
self.root = tk.Tk() |
Initializes Tkinter GUI |
| 1196 |
self.root.title("Diffusion Breakout") |
|
| 1197 |
self.label = tk.Label(self.root, background="black") |
|
| 1198 |
self.label.pack() |
|
| 1204 |
self.label.bind("<Button-1>", self._on_click) |
|
| 1205 |
self.root.bind("<KeyPress>", self._on_key_press) |
|
| 1206 |
self.root.bind("<KeyRelease>", self._on_key_release) |
|
| 1207 |
self.root.protocol("WM_DELETE_WINDOW", self.close) |
Intercepts window close event |
| 1208 |
self.root.focus_force() |
|
Micro-behaviors
| 1081 |
root = Path(local_dir) |
|
| 1082 |
root.mkdir(parents=True, exist_ok=True) |
|
| 1083 |
for name in ("config.json", "ema.safetensors"): |
|
| 1084 |
hf_hub_download( |
|
| 1085 |
repo_id=repo, |
|
| 1086 |
filename=name, |
|
| 1087 |
revision=revision, |
|
| 1098 |
def _load_settings(config_path: Path) -> tuple[VideoConfig, ModelConfig, CodecSettings]: |
|
| 1099 |
raw = json.loads(config_path.read_text(encoding="utf-8")) |
|
| 1100 |
video = VideoConfig(**{key: raw["video"][key] for key in VideoConfig.__dataclass_fields__}) |
|
| 1101 |
model = ModelConfig(**{key: raw["model"][key] for key in ModelConfig.__dataclass_fields__}) |
|
| 1102 |
codec_raw = raw["codec"] |
|
| 4 |
Deps: |
|
| 5 |
pip install torch numpy pillow safetensors huggingface_hub diffusers |
|
| 1192 |
def __init__(self, scale: int) -> None: |
|
| 1193 |
self.scale = max(1, scale) |
|
| 1194 |
self.is_open = True |
|
| 1195 |
self.root = tk.Tk() |
|
| 1196 |
self.root.title("Diffusion Breakout") |
|
| 1197 |
self.label = tk.Label(self.root, background="black") |
|
| 1198 |
self.label.pack() |
|
| 1204 |
self.label.bind("<Button-1>", self._on_click) |
|
| 1205 |
self.root.bind("<KeyPress>", self._on_key_press) |
|
| 1206 |
self.root.bind("<KeyRelease>", self._on_key_release) |
|
| 1207 |
self.root.protocol("WM_DELETE_WINDOW", self.close) |
|
| 1208 |
self.root.focus_force() |
|
Identity
| SHA-256 |
7eadbd89cf9fea87ba64481743f0fcd1b81412d3f4fda2b4f0e92e6bb8f9853c |
| Filename |
live_infer.py |
| Package |
kerzgrr |
Origin
| Source |
harvest |
| Feed |
huggingface.co |
| Ecosystem |
huggingface |
Timeline
| First seen |
18 Jul 2026 20:23 UTC |
| First analyzed |
18 Jul 2026 20:30 UTC |
| Last analyzed |
18 Jul 2026 20:30 UTC |
| Last updated |
18 Jul 2026 20:30 UTC |
Labeling
| Label |
unknown |
| Label source |
harvest |
| Traits version |
32522 |