Formatting and type hinting

This commit is contained in:
2024-02-15 17:53:02 +01:00
parent dee544a26c
commit 368b7bb375

View File

@@ -1,5 +1,7 @@
from abc import ABC, abstractmethod
import gradio as gr
from abc import ABC, abstractmethod
from ..chore import GenerationContext
class BaseEngine(ABC):
@@ -8,6 +10,7 @@ class BaseEngine(ABC):
description: str
def __init__(self):
self.ctx: GenerationContext # This is for type hinting only
pass
@classmethod