Spaces:
Runtime error
Runtime error
File size: 453 Bytes
46df0b6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
from abc import ABC, abstractmethod
import gradio as gr
from data_measurements.dataset_statistics import DatasetStatisticsCacheClass as dmt_cls
class Widget(ABC):
@abstractmethod
def render(self):
pass
@abstractmethod
def update(self, dstats: dmt_cls):
pass
@property
@abstractmethod
def output_components(self):
pass
@abstractmethod
def add_events(self, state: gr.State):
pass
|