Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
ibelem committed Oct 10, 2023
1 parent bf061d7 commit b2eca37
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions src/lib/components/InferenceLog.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,22 @@
});
</script>

<div class="inferlog" bind:this={element}>
{#each info as i}
<div>{i}</div>
{/each}
</div>
<div class="q copy">
<div>
{#if testQueue.length === 0}
<button title="Copy full test logs" on:click={() => copyInfo()}>
<Log />
</button>
{/if}
{#if info}
<div class="inferlog" bind:this={element}>
{#each info as i}
<div>{i}</div>
{/each}
</div>
</div>
<div class="q copy">
<div>
{#if testQueue.length === 0}
<button title="Copy full test logs" on:click={() => copyInfo()}>
<Log />
</button>
{/if}
</div>
</div>
{/if}

<style>
.inferlog {
Expand Down

0 comments on commit b2eca37

Please sign in to comment.