Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
add link to model page
Browse files
src/lib/components/InferencePlayground/InferencePlayground.svelte
CHANGED
|
@@ -315,7 +315,21 @@
|
|
| 315 |
<div
|
| 316 |
class="flex flex-1 flex-col gap-6 overflow-y-hidden rounded-xl border border-gray-200/80 bg-white bg-gradient-to-b from-white via-white p-3 shadow-sm dark:border-white/5 dark:bg-gray-900 dark:from-gray-800/40 dark:via-gray-800/40"
|
| 317 |
>
|
| 318 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 319 |
|
| 320 |
<GenerationConfig bind:conversation />
|
| 321 |
<div class="mt-auto hidden">
|
|
|
|
| 315 |
<div
|
| 316 |
class="flex flex-1 flex-col gap-6 overflow-y-hidden rounded-xl border border-gray-200/80 bg-white bg-gradient-to-b from-white via-white p-3 shadow-sm dark:border-white/5 dark:bg-gray-900 dark:from-gray-800/40 dark:via-gray-800/40"
|
| 317 |
>
|
| 318 |
+
<div class="flex flex-col gap-2">
|
| 319 |
+
<ModelSelector {models} bind:conversation />
|
| 320 |
+
<div class="self-end text-xs">
|
| 321 |
+
<a
|
| 322 |
+
href="https://huggingface.co/{conversation.model.id}"
|
| 323 |
+
target="_blank"
|
| 324 |
+
class="flex items-center gap-0.5 text-gray-500 hover:text-gray-700 dark:hover:text-gray-400"
|
| 325 |
+
>
|
| 326 |
+
Model page
|
| 327 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"
|
| 328 |
+
><path fill="currentColor" d="M10 6v2h12.59L6 24.59L7.41 26L24 9.41V22h2V6H10z" /></svg
|
| 329 |
+
>
|
| 330 |
+
</a>
|
| 331 |
+
</div>
|
| 332 |
+
</div>
|
| 333 |
|
| 334 |
<GenerationConfig bind:conversation />
|
| 335 |
<div class="mt-auto hidden">
|