This commit is contained in:
Timothy J. Baek
2024-10-21 04:14:49 -07:00
parent b4e73c7f19
commit 24885a2e38
2 changed files with 9 additions and 4 deletions

View File

@@ -144,6 +144,11 @@ async def get_status():
}
async def get_all_models():
pipe_models = await get_pipe_models()
return pipe_models
def get_function_module(pipe_id: str):
# Check if function is already loaded
if pipe_id not in app.state.FUNCTIONS: