coyotte508's picture
coyotte508 HF staff
🍱 Copy folders from huggingface.js
b2ecf7d
raw
history blame
627 Bytes
<script lang="ts">
export let currentState: "error" | "loaded" | "unknown" | undefined;
</script>
<div class="blankslate">
<div class="subtitle text-xs text-gray-500">
<div class="loaded mt-2 {currentState !== 'loaded' ? 'hidden' : ''}">
This model is currently loaded and running on the Inference API.
</div>
<div class="error mt-2 {currentState !== 'error' ? 'hidden' : ''}">
⚠️ This model could not be loaded by the inference API. ⚠️
</div>
<div class="unknown mt-2 {currentState !== 'unknown' ? 'hidden' : ''}">
This model can be loaded on the Inference API on-demand.
</div>
</div>
</div>