Skip to content

Commit

Permalink
rtkquery codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
psychedelicious committed Feb 5, 2023
1 parent 312d53a commit d9937e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion invokeai/frontend/src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const App = () => {
setInvocationProgress(undefined);
setSessionId(undefined);
console.log('invocation_complete', data);
socket.emit('unsubscribe', { session: sessionId });
});
socket.on('invocation_started', (data) =>
console.log('invocation_started', data)
Expand All @@ -100,7 +101,9 @@ const App = () => {
<ImageUploader>
<ProgressBar />
<Flex gap={2} p={2} alignItems="center">
<Button onClick={handleCreateSession}>Create Session</Button>
<Button onClick={handleCreateSession} isDisabled={!!sessionId}>
Create Session
</Button>
<Button
onClick={handleInvokeSession}
isDisabled={!sessionId || isInvocationPending}
Expand Down

0 comments on commit d9937e1

Please sign in to comment.