github-actions[bot]
GitHub deploy: 9b6076f726b2bbd0d7d13a3601fe27cb7e4a5db0
3b623f5
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}