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 huggingface_hub import snapshot_download, login | |
import os, sys, requests | |
# --- Hardcoded config --- | |
repo_id = "Wan-AI/Wan2.1-T2V-14B-Diffusers" | |
target_dir = os.path.expanduser("/mnt/model_store/Wan2.1-T2V-14B-Diffusers") | |
cache_dir = os.path.expanduser("/mnt/.cache/huggingface") # writable | |
# Set an env var before running: export HUGGING_FACE_HUB_TOKEN=hf_xxx (if the repo is gated/private) | |
token = os.environ.get("HUGGING_FACE_HUB_TOKEN") | |
# ------------------------ |
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
import argparse | |
import os | |
import json | |
from pathlib import Path | |
import safetensors.torch | |
import torch | |
import tqdm | |
from collections import OrderedDict | |
""" |
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
# Line Brush Style Prompts | |
I use a textual inversion embedding in my negative prompt called "bad-artist". There's a link to it below. | |
[textual inversion bad-artist](https://huggingface.co/NiXXerHATTER59/bad-artist) | |
## Hutao-like Gothic Lolita | |
DBlinebrush style, masterpiece, 1girl, beautiful portrait of anime female adventurer, monochrome |
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
<body> | |
<div class = "container-fluid" id = "title"> | |
<h1 class = "center-text">Weather!</h1> | |
<div class = "content" id = "nowLocation">Location</div> | |
<div class = "content" id = "nowTemp">Temperature Now</div> | |
<h2 class = "content"><a href = "#" id = "toggle">Change Units</a></h2> | |
<div class = "content" id = "nowWeather">Weather Now</div> | |
</div> |