Skip to content

Instantly share code, notes, and snippets.

@ichabodcole
ichabodcole / model_play.py
Created January 6, 2024 02:58
Combining XTTS speaker embeddings
import torch
from torch import Tensor
from TTS.api import TTS
from TTS.tts.configs.xtts_config import XttsConfig
from TTS.tts.models.xtts import Xtts
import utils
from utils import CombineMethod
from pydub import AudioSegment
from typing import List
extends HTTPRequest
class_name HTTPFilePost
func post_file(url: String, field_name: String, file_name: String, file_path: String, post_fields: Dictionary = {}, content_type: String = "", custom_headers: Array = [], verify_ssl: bool = true):
var file = File.new()
file.open(file_path)
var content = file.get_buffer(file.get_len())
file.close()
post_data_as_file(url, field_name, file_name, content, post_fields, content_type, custom_headers, verify_ssl)
@natyusha
natyusha / Naty's FFXIV Dawntrail Add-ons, Plugins and Mods.md
Last active May 30, 2026 05:15
All the third party add-ons, plugins and mods I use for FFXIV.

Last Updated: Patch 7.41

The program which most people use for parsing in FFXIV and several other MMOs. For an open source alternative consider using IINACT though configuring it won't be covered here.

Options

  • Main Table Encounters
    • General
      • Uncheck: Number of seconds to wait after the last combat action to begin a new encounter.
      • Uncheck: Number of seconds to wait after the last combat action to pause the encounter duration.

Plugins

@jtmoon79
jtmoon79 / python-embedded-for-Win10.md
Last active May 30, 2026 13:33
fully configuring embedded Python on Windows 10

Update: use PowerShell script PythonEmbed4Win.ps1.

The instructions in this gist have some subtle problems and this gist will not be updated.

About