Share and default improvements
This commit is contained in:
parent
9998c65951
commit
f3d395fc46
|
@ -48,7 +48,7 @@ export default function Share({
|
|||
// function to generate a link to a the moment in the song based on the played clips, input variable is how many seconds ago
|
||||
function generateLink(secondsAgo: number) {
|
||||
|
||||
//TODO: Seth, handle start case, and seconds into past case
|
||||
//TODO: Seth, and seconds into past case
|
||||
|
||||
var prompt
|
||||
var seed
|
||||
|
@ -65,13 +65,13 @@ export default function Share({
|
|||
if (!nowPlayingResult) {
|
||||
return window.location.href;
|
||||
}
|
||||
prompt = nowPlayingResult.input.start.prompt
|
||||
seed = nowPlayingResult.input.start.seed
|
||||
denoising = nowPlayingResult.input.start.denoising
|
||||
prompt = nowPlayingResult.input.end.prompt
|
||||
seed = nowPlayingResult.input.end.seed
|
||||
denoising = nowPlayingResult.input.end.denoising
|
||||
maskImageId = nowPlayingResult.input.mask_image_id
|
||||
|
||||
// TODO, selectively add these based on whether we give user option to change them
|
||||
|
||||
|
||||
// seedImageId = nowPlayingResult.input.seed_image_id
|
||||
// guidance = nowPlayingResult.input.guidance
|
||||
// numInferenceSteps = nowPlayingResult.input.num_inference_steps
|
||||
|
|
|
@ -19,9 +19,9 @@ import {
|
|||
} from "../types";
|
||||
|
||||
const defaultPromptInputs = [
|
||||
{ prompt: "A jazz pianist playing a classical concerto" },
|
||||
{ prompt: "Country singer and a techno DJ" },
|
||||
{ prompt: "A typewriter in the style of K-Pop" },
|
||||
{ prompt: "A jazz pianist playing a concerto" },
|
||||
{ prompt: "Techno DJ and a Country Singer" },
|
||||
{ prompt: "Classical italian tenor operatic pop" },
|
||||
{ prompt: "lo-fi beat for the holidays" },
|
||||
{ prompt: "" },
|
||||
{ prompt: "" },
|
||||
|
|
Loading…
Reference in New Issue