mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-02 17:24:54 +00:00
Formatting and type hinting
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user