This file contains 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
adjective_to_country = { | |
"Afghan": "Afghanistan", | |
"Albanian": "Albania", | |
"Algerian": "Algeria", | |
"American": "United States", | |
"Andorran": "Andorra", | |
"Angolan": "Angola", | |
"Antiguan": "Antigua and Barbuda", | |
"Argentine": "Argentina", | |
"Armenian": "Armenia", |
This file contains 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
#!/bin/bash | |
# Assumes that your Stability API key is in STABILITY_KEY | |
PROMPT="$1" | |
DATE=$(date +%Y-%m-%d-%H%M%S) | |
curl -f -sS "https://api.stability.ai/v2beta/stable-image/generate/sd3" \ | |
-H "authorization: Bearer $STABILITY_KEY" \ | |
-H "accept: image/*" \ |
This file contains 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 torch | |
import comfy.model_management | |
import comfy.sample | |
import logging as logger | |
class BatchUnsampler: | |
@classmethod | |
def INPUT_TYPES(s): | |
return {"required": | |
{"model": ("MODEL",), |
This file contains 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
#!/usr/local/bin/python3 | |
from tld import get_fld | |
from google import google | |
import fileinput | |
import re | |
import dns.resolver | |
print("bank,domain,dmarc_p,dmarc_ruf,dmarc_rua") |