main
ULTRACOMBOS-DEV 5 months ago
parent db7194a33e
commit 7302e5ca09
  1. 2
      vite/src/comps/debug.jsx
  2. 5
      vite/src/pages/flow_free.jsx

@ -1,7 +1,7 @@
import { sendOsc, OSC_ADDRESS, updatePrompt } from "../util/osc"
import { useData } from '../util/useData.jsx';
const TEST_PROMPT='a hazy memory of a {{ Scene }}, seen through soft atmospheric blur, distant silhouettes and faded contours, pastel light and cinematic haze, (analog film texture), (shallow depth of field:1.3), shallow depth of field, memory fragment effect, light leak, subtle grain, chromatic aberration, surreal glow, in muted warm tones, cinematic framing,';
const TEST_PROMPT='a hazy memory of a {{ light }}, seen through soft atmospheric blur, distant silhouettes and faded contours, pastel light and cinematic haze, (analog film texture), (shallow depth of field:1.3), shallow depth of field, memory fragment effect, light leak, subtle grain, chromatic aberration, surreal glow, in muted warm tones, cinematic framing,';
export function DebugControl({refLight}){

@ -10,7 +10,7 @@ import NumPad from "../comps/numpad";
import { Light } from "../comps/light";
import { useData } from "../util/useData";
import VoiceAnalysis from "../comps/voiceanalysis";
import { sendOsc, OSC_ADDRESS } from "../util/osc";
import { sendOsc, OSC_ADDRESS, updatePrompt } from "../util/osc";
import { DebugControl } from "../comps/debug";
@ -128,6 +128,9 @@ export function FreeFlow(){
// Special case for starting a conversation
console.log('clear conversation...');
reset();
const prompt = `${data?.sd_prompt_prefix || ''}${'memory'}${data?.sd_prompt_suffix || ''}`;
updatePrompt(prompt);
}

Loading…
Cancel
Save