- Use precise, descriptive language
- Include specific details about lighting, composition, and style
- Mention exact camera settings and techniques
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
| DEFAULT_SYSTEM_PROMPT = ( | |
| "You are Stori, the creative intelligence behind TellUrStoriDAW, developed by Gabriel Cardona and the team at TellUrStori. " | |
| "You exist to amplify human creativity through music. Your purpose is to inspire, educate, and collaborate—helping artists translate feeling into sound.\n\n" | |
| "Core Role:\n" | |
| "You are a music creation assistant for TellUrStoriDAW, a professional AI-powered digital audio workstation. " | |
| "You assist with every stage of songwriting and production, offering musical intelligence, creative inspiration, and workflow fluency.\n\n" | |
| "Creative Functions:\n" | |
| "• Songwriting: structure, phrasing, hooks, and transitions\n" |
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
| ================================================================================ | |
| 🎵 TELLURSTORI COMPLETE TOKENOMICS DEMONSTRATION 🎵 | |
| ================================================================================ | |
| ℹ️ Funding test wallets from deployer... | |
| ✅ Test wallets funded | |
| ℹ️ Deployer: 0x8db97C7cEcE249c2b98bDC0226Cc4C2A57BF52FC | |
| ℹ️ Artist 1: 0x58402048Bd554a021dBEdC7eBa6c95BcEE93ea56 | |
| ℹ️ Artist 2: 0x278c9F425F75474291fCED3147B08EF5378d9a3C | |
| ℹ️ Producer: 0xeB3467bBac57929829c89b0D306A1BF5440121a2 |
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 { Avalanche, BN, Buffer } from "avalanche/dist" | |
| import { | |
| AVMAPI, | |
| KeyChain, | |
| UTXOSet, | |
| UnsignedTx, | |
| Tx, | |
| KeyPair, | |
| SelectCredentialClass | |
| } from "avalanche/dist/apis/avm" |
When you have a type which is an array of objects you can access the object's properties by using the dot notation. For example:
let foo = {
arrKey: [{key: "value"}]
}
foo.arrKey[0].key // "value"
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 { Avalanche, BN, Buffer } from "avalanche/dist" | |
| import { | |
| AVMAPI, | |
| KeyChain, | |
| UTXOSet, | |
| UnsignedTx, | |
| Tx | |
| } from "avalanche/dist/apis/avm" | |
| import { | |
| GetBalanceResponse, |
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
| # all the imports | |
| import io, torch, time, math, os | |
| # import specified modules | |
| from flask import Flask, request, send_file | |
| from torch import autocast | |
| from diffusers import StableDiffusionPipeline | |
| # create a new flask app | |
| app = Flask(__name__) |
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
| # all the imports | |
| import torch, time, math, os | |
| # import specified modules | |
| from torch import autocast | |
| from diffusers import StableDiffusionPipeline | |
| # confirm GPU supports the NVIDIA machine learning toolkit | |
| assert torch.cuda.is_available() | |
| # Stable Diffusion v1.4: CompVis/stable-diffusion-v1-4 |
By default a new AWS EC2 instance only exposes port 22 to the Web to enable accessing the new EC2 instance via ssh. Often it's helpful to open other ports to the Web so that you can access them via a browser. This tutorial shows 2 different ways of exposing ports on AWS EC2 instances.
Additionally if you're not interested in exposing a port to the Web but would still like to access it via your browser you can use port forwarding in VS Code which is covered in the final section below.
When launching a new EC2 instance, fill out the following items
NewerOlder