Spaces:
Paused
Paused
Download python/extensions/monologue_start/_10_memory_init.py from OnyxMunk/GravityFalls: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/spaces/OnyxMunk/GravityFalls/resolve/main/python/extensions/monologue_start/_10_memory_init.py
- Command line
-
hf download hf://spaces/OnyxMunk/GravityFalls/python/extensions/monologue_start/_10_memory_init.py
-
curl -L -o _10_memory_init.py https://huggingface.co/spaces/OnyxMunk/GravityFalls/resolve/main/python/extensions/monologue_start/_10_memory_init.py
290 Bytes
| from python.helpers.extension import Extension | |
| from agent import LoopData | |
| from python.helpers import memory | |
| import asyncio | |
| class MemoryInit(Extension): | |
| async def execute(self, loop_data: LoopData = LoopData(), **kwargs): | |
| db = await memory.Memory.get(self.agent) | |