Tree: Format

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri 2024-03-13 00:02:31 -04:00
parent 8e4745920c
commit 1ec8eb9620
15 changed files with 21 additions and 7 deletions

View file

@ -1,4 +1,5 @@
"""Argparser for overriding config values"""
import argparse

View file

@ -2,6 +2,7 @@
This method of authorization is pretty insecure, but since TabbyAPI is a local
application, it should be fine.
"""
import secrets
import yaml
from fastapi import Header, HTTPException

View file

@ -1,6 +1,7 @@
"""
Functions for logging generation events.
"""
from pydantic import BaseModel
from loguru import logger
from typing import Dict, Optional

View file

@ -1,4 +1,5 @@
"""Small replication of AutoTokenizer's chat template system for efficiency"""
import json
import pathlib
from functools import lru_cache