Spaces:
Runtime error
Runtime error
types file
Browse filesFiles changed (6)
- src/lib/components/InferencePlayground/InferencePlayground.svelte+1-1
- src/lib/components/InferencePlayground/InferencePlaygroundModelSelector.svelte+1-1
- src/lib/components/InferencePlayground/InferencePlaygroundModelSelectorModal.svelte+1-1
- src/lib/components/InferencePlayground/inferencePlaygroundUtils.ts+1-1
- src/lib/types/index.d.ts → src/lib/components/InferencePlayground/types.tsRenamed+1-1
- src/routes/+page.server.ts+1-1
12345<script lang="ts">import type { ModelEntryWithTokenizer } from "$lib/types";import { type ChatCompletionInputMessage } from "@huggingface/tasks";import { defaultGenerationConfig } from "./generationConfigSettings";12345<script lang="ts">import type { ModelEntryWithTokenizer } from "./types";import { type ChatCompletionInputMessage } from "@huggingface/tasks";import { defaultGenerationConfig } from "./generationConfigSettings";
12345<script lang="ts">import type { Conversation, ModelEntryWithTokenizer } from "$lib/types";import IconCaret from "../Icons/IconCaret.svelte";import ModelSelectorModal from "./InferencePlaygroundModelSelectorModal.svelte";12345<script lang="ts">import type { Conversation, ModelEntryWithTokenizer } from "./types";import IconCaret from "../Icons/IconCaret.svelte";import ModelSelectorModal from "./InferencePlaygroundModelSelectorModal.svelte";
12345<script lang="ts">import type { ModelEntryWithTokenizer } from "$lib/types";import { createEventDispatcher } from "svelte";12345<script lang="ts">import type { ModelEntryWithTokenizer } from "./types";import { createEventDispatcher } from "svelte";
12345import { type ChatCompletionInputMessage } from "@huggingface/tasks";import type { Conversation, ModelEntryWithTokenizer } from "$lib/types";import { HfInference } from "@huggingface/inference";12345import { type ChatCompletionInputMessage } from "@huggingface/tasks";import type { Conversation, ModelEntryWithTokenizer } from "./types";import { HfInference } from "@huggingface/inference";
1 unmodified line23456781 unmodified lineimport type { ModelEntry } from "@huggingface/hub";import type { ChatCompletionInputMessage } from "@huggingface/tasks";type Conversation = {model: ModelEntryWithTokenizer;config: GenerationConfig;messages: ChatCompletionInputMessage[];1 unmodified line23456781 unmodified lineimport type { ModelEntry } from "@huggingface/hub";import type { ChatCompletionInputMessage } from "@huggingface/tasks";export type Conversation = {model: ModelEntryWithTokenizer;config: GenerationConfig;messages: ChatCompletionInputMessage[];
1234import type { ModelEntryWithTokenizer } from "$lib/types";import type { ModelEntry } from "@huggingface/hub";import type { PageServerLoad } from "./$types";import { env } from "$env/dynamic/private";1234import type { ModelEntryWithTokenizer } from "$lib/components/InferencePlayground/types";import type { ModelEntry } from "@huggingface/hub";import type { PageServerLoad } from "./$types";import { env } from "$env/dynamic/private";
src/lib/components/InferencePlayground/InferencePlayground.svelte+1-1
src/lib/components/InferencePlayground/InferencePlaygroundModelSelector.svelte+1-1
src/lib/components/InferencePlayground/InferencePlaygroundModelSelectorModal.svelte+1-1
src/lib/components/InferencePlayground/inferencePlaygroundUtils.ts+1-1
src/lib/types/index.d.ts → src/lib/components/InferencePlayground/types.tsRenamed+1-1
src/routes/+page.server.ts+1-1