diff --git a/public/components/visualization/text2vega.ts b/public/components/visualization/text2vega.ts index 873c1ef1..1d2f14f3 100644 --- a/public/components/visualization/text2vega.ts +++ b/public/components/visualization/text2vega.ts @@ -38,8 +38,8 @@ export class Text2Vega { this.result$ = this.input$ .pipe( filter((v) => v.prompt.length > 0), - debounceTime(200), - tap(() => this.status$.next('RUNNING')) + tap(() => this.status$.next('RUNNING')), + debounceTime(200) ) .pipe( switchMap((v) =>