Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
machineuser commited on
Commit ·
beb51b0
1
Parent(s): e3e396b
Sync widgets demo
Browse files123456415 unmodified lines422423424425426427428import type { ModelData } from "./model-data";import type { ModelLibraryKey } from "./model-libraries";/*** Elements configurable by a model library.*/415 unmodified linesif (!info) {return [`# ⚠️ Type of model unknown`];}const remote_code_snippet = info.custom_class ? ", trust_remote_code=True" : "";let autoSnippet: string;if (info.processor) {12345678415 unmodified lines424425426427428429430import type { ModelData } from "./model-data";import type { ModelLibraryKey } from "./model-libraries";const TAG_CUSTOM_CODE = "custom_code";/*** Elements configurable by a model library.*/415 unmodified linesif (!info) {return [`# ⚠️ Type of model unknown`];}const remote_code_snippet = model.tags?.includes(TAG_CUSTOM_CODE) ? ", trust_remote_code=True" : "";let autoSnippet: string;if (info.processor) {
packages/tasks/src/library-ui-elements.ts+3-1