Spaces:
Sleeping
Sleeping
wip
Browse files
src/lib/components/InferencePlayground/inferencePlaygroundUtils.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import { type ChatCompletionInputMessage } from "@huggingface/tasks";
|
| 2 |
-
import { HfInference } from "@huggingface/inference";
|
| 3 |
import type { Conversation, ModelEntryWithTokenizer } from "$lib/types";
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
export function createHfInference(token: string): HfInference {
|
|
|
|
| 1 |
import { type ChatCompletionInputMessage } from "@huggingface/tasks";
|
|
|
|
| 2 |
import type { Conversation, ModelEntryWithTokenizer } from "$lib/types";
|
| 3 |
+
import { HfInference } from "@huggingface/inference";
|
| 4 |
|
| 5 |
|
| 6 |
export function createHfInference(token: string): HfInference {
|