Thomas G. Lopes commited on
Commit
2a3aa41
·
1 Parent(s): de4cdfa
src/lib/components/inference-playground/message.svelte CHANGED
@@ -83,11 +83,11 @@
83
  <button
84
  tabindex="0"
85
  type="button"
86
- class="mt-1.5 grid size-8 place-items-center rounded-lg border border-gray-200 bg-white text-xs font-medium text-gray-900
87
- group-focus-within/message:visible group-hover/message:visible hover:bg-gray-100
88
- hover:text-blue-700 focus:z-10 focus:ring-4
89
- focus:ring-gray-100 focus:outline-hidden sm:invisible dark:border-gray-600 dark:bg-gray-800
90
- dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white dark:focus:ring-gray-700 -mr-2"
91
  {...tooltip.trigger}
92
  {...fileUpload.trigger}
93
  >
 
83
  <button
84
  tabindex="0"
85
  type="button"
86
+ class="mt-1.5 -mr-2 grid size-8 place-items-center rounded-lg border border-gray-200 bg-white text-xs font-medium
87
+ text-gray-900 group-focus-within/message:visible group-hover/message:visible
88
+ hover:bg-gray-100 hover:text-blue-700 focus:z-10
89
+ focus:ring-4 focus:ring-gray-100 focus:outline-hidden sm:invisible dark:border-gray-600
90
+ dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white dark:focus:ring-gray-700"
91
  {...tooltip.trigger}
92
  {...fileUpload.trigger}
93
  >
src/lib/components/inference-playground/model-selector-modal.svelte CHANGED
@@ -147,7 +147,9 @@
147
  ><span class="text-black dark:text-white">{modelName}</span></span
148
  >
149
  {#if model.pipeline_tag === "image-text-to-text"}
150
- <div class="size-5 text-gray-500 dark:text-gray-300 ml-2 bg-gray-500/10 dark:bg-gray-500/20 grid place-items-center rounded">
 
 
151
  <IconEye class="size-3.5" />
152
  </div>
153
  {/if}
 
147
  ><span class="text-black dark:text-white">{modelName}</span></span
148
  >
149
  {#if model.pipeline_tag === "image-text-to-text"}
150
+ <div
151
+ class="ml-2 grid size-5 place-items-center rounded bg-gray-500/10 text-gray-500 dark:bg-gray-500/20 dark:text-gray-300"
152
+ >
153
  <IconEye class="size-3.5" />
154
  </div>
155
  {/if}
src/lib/components/inference-playground/model-selector.svelte CHANGED
@@ -62,4 +62,3 @@
62
  {/if}
63
 
64
  <ProviderSelect bind:conversation />
65
-
 
62
  {/if}
63
 
64
  <ProviderSelect bind:conversation />