mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-02 09:16:19 +00:00
Formatting and type hinting
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
from abc import ABC, abstractmethod
|
|
||||||
import gradio as gr
|
import gradio as gr
|
||||||
|
from abc import ABC, abstractmethod
|
||||||
|
|
||||||
|
from ..chore import GenerationContext
|
||||||
|
|
||||||
|
|
||||||
class BaseEngine(ABC):
|
class BaseEngine(ABC):
|
||||||
@@ -8,6 +10,7 @@ class BaseEngine(ABC):
|
|||||||
description: str
|
description: str
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
self.ctx: GenerationContext # This is for type hinting only
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user