github-actions[bot]
GitHub deploy: 614379a427b39a7a318497e7d9ebbd1ba071832b
2cf0297
raw
history blame contribute delete
374 Bytes
<script>
import { onMount } from 'svelte';
import { models } from '$lib/stores';
import { getModels } from '$lib/apis';
import Models from '$lib/components/workspace/Models.svelte';
onMount(async () => {
await Promise.all([
(async () => {
models.set(await getModels(localStorage.token));
})()
]);
});
</script>
{#if $models !== null}
<Models />
{/if}