mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-15 03:27:24 +08:00
latent dir
This commit is contained in:
parent
59e7e3bc9b
commit
581ad6a3e7
0
input/latents/_input_latents_will_be_put_here
Normal file
0
input/latents/_input_latents_will_be_put_here
Normal file
15
server.py
15
server.py
@ -359,7 +359,20 @@ class PromptServer():
|
||||
self.prompt_queue.delete_history_item(id_to_delete)
|
||||
|
||||
return web.Response(status=200)
|
||||
|
||||
|
||||
@routes.post("/clipspace/copy")
|
||||
async def clipspace_copy(request):
|
||||
import execution
|
||||
json_data = await request.json()
|
||||
self.clipspace = execution.outputs[json_data['node_id']]
|
||||
|
||||
@routes.post("/clipspace/paste")
|
||||
async def clipspace_copy(request):
|
||||
import execution
|
||||
json_data = await request.json()
|
||||
id = json_data['node_id']
|
||||
print(self.clipspace)
|
||||
|
||||
def add_routes(self):
|
||||
self.app.add_routes(self.routes)
|
||||
self.app.add_routes([
|
||||
|
||||
Loading…
Reference in New Issue
Block a user