Huggingface Pipe

function

Function to use HF models on Open-WebUI

cdmsin
@cdmsin
·
2 years ago
6.9K
8
13K
Updated 2 years ago
Created Aug 5, 2024
huggingface_pipe.py
Python · 133 lines
"""
title: Huggingface Pipe
author: Wes Caldwell
email: [email protected]
date: 2024-07-19
version: 1.05
license: MIT
description: Function to use HF models on Open-WebUI
requirements: pydantic, huggingface-hub, transformers
"""

from pydantic import BaseModel, Field

Function to use HF models on Open-WebUI


2