victor HF staff commited on
Commit
5541896
1 Parent(s): 48b5118

add link to feedback

Browse files
src/lib/components/Icons/IconInfo.svelte ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script lang="ts">
2
+ export let classNames = "";
3
+ </script>
4
+
5
+ <svg
6
+ class={classNames}
7
+ xmlns="http://www.w3.org/2000/svg"
8
+ xmlns:xlink="http://www.w3.org/1999/xlink"
9
+ aria-hidden="true"
10
+ focusable="false"
11
+ role="img"
12
+ width="1em"
13
+ height="1em"
14
+ preserveAspectRatio="xMidYMid meet"
15
+ viewBox="0 0 32 32"
16
+ >
17
+ <path d="M17 22v-8h-4v2h2v6h-3v2h8v-2h-3z" fill="currentColor" />
18
+ <path d="M16 8a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 16 8z" fill="currentColor" />
19
+ <path d="M16 30a14 14 0 1 1 14-14a14 14 0 0 1-14 14zm0-26a12 12 0 1 0 12 12A12 12 0 0 0 16 4z" fill="currentColor" />
20
+ </svg>
src/lib/components/InferencePlayground/InferencePlayground.svelte CHANGED
@@ -19,6 +19,7 @@
19
  import PlaygroundConversation from "./InferencePlaygroundConversation.svelte";
20
  import IconDelete from "../Icons/IconDelete.svelte";
21
  import IconCode from "../Icons/IconCode.svelte";
 
22
 
23
  export let models: ModelEntryWithTokenizer[];
24
 
@@ -345,3 +346,12 @@
345
  </div>
346
  </div>
347
  </div>
 
 
 
 
 
 
 
 
 
 
19
  import PlaygroundConversation from "./InferencePlaygroundConversation.svelte";
20
  import IconDelete from "../Icons/IconDelete.svelte";
21
  import IconCode from "../Icons/IconCode.svelte";
22
+ import IconInfo from "../Icons/IconInfo.svelte";
23
 
24
  export let models: ModelEntryWithTokenizer[];
25
 
 
346
  </div>
347
  </div>
348
  </div>
349
+
350
+ <a
351
+ target="_blank"
352
+ href="https://huggingface.co/spaces/huggingface/inference-playground/discussions/1"
353
+ class="absolute bottom-6 left-4 flex items-center gap-1 text-sm text-gray-500 underline decoration-gray-300 hover:text-gray-800 max-md:hidden dark:text-gray-400 dark:decoration-gray-600 dark:hover:text-gray-200"
354
+ >
355
+ <IconInfo classNames="text-xs" />
356
+ Give feedback
357
+ </a>