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
122345<script lang="ts"> import type { ModelEntryWithTokenizer } from "$lib/types"; import type { ModelEntryWithTokenizer } from "./types"; import { type ChatCompletionInputMessage } from "@huggingface/tasks";
import { defaultGenerationConfig } from "./generationConfigSettings";122345<script lang="ts"> import type { Conversation, ModelEntryWithTokenizer } from "$lib/types"; import type { Conversation, ModelEntryWithTokenizer } from "./types";
import IconCaret from "../Icons/IconCaret.svelte"; import ModelSelectorModal from "./InferencePlaygroundModelSelectorModal.svelte";122345<script lang="ts"> import type { ModelEntryWithTokenizer } from "$lib/types"; import type { ModelEntryWithTokenizer } from "./types";
import { createEventDispatcher } from "svelte";
122345import { type ChatCompletionInputMessage } from "@huggingface/tasks";import type { Conversation, ModelEntryWithTokenizer } from "$lib/types";import type { Conversation, ModelEntryWithTokenizer } from "./types";
import { HfInference } from "@huggingface/inference";
1 unmodified line234556781 unmodified lineimport type { ModelEntry } from "@huggingface/hub";import type { ChatCompletionInputMessage } from "@huggingface/tasks";
type Conversation = {export type Conversation = { model: ModelEntryWithTokenizer; config: GenerationConfig; messages: ChatCompletionInputMessage[];11234import type { ModelEntryWithTokenizer } from "$lib/types";import 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