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
| """ | |
| Flux.1 Kontext Official image editing engine. | |
| Uses the official Black Forest Labs implementation. | |
| """ | |
| import sys | |
| import time | |
| import traceback | |
| from typing import List, Optional | |
| import numpy as np |
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
| """ | |
| DreamOmni2 image editing/generation engine. | |
| DreamOmni2: Multimodal Instruction-based Editing and Generation. | |
| Based on FLUX.1-Kontext-dev with VLM enhancement. | |
| Reference: https://arxiv.org/html/2510.06679v1 | |
| """ | |
| import os | |
| import sys |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| wget --no-check-certificate https://raw.githubusercontent.com/neko-dev/neohosts/gh-pages/basic/hosts -O /tmp/neohosts | |
| awk '$1 ~ /^[0-9]/ {printf("address=/%s/%s\n", $2,$1)}' /tmp/neohosts | sed -e '/Xiao/d' -e '/^$/d' > /etc/dnsmasq.d/neohosts.conf | |
| rm /tmp/neohosts |