lit_doccano component
This ⚡ Lightning component ⚡ was generated automatically with:
lightning init component lit-doccano
To run lit_doccano
First, install lit_doccano (warning: this component has not been officially approved on the lightning gallery):
lightning install component https://github.com/tshu-w/lit-doccano
Once the app is installed, use it in an app:
from lit_doccano import LitDoccano
import lightning as L
class LitApp(L.LightningFlow):
def __init__(self) -> None:
super().__init__()
self.lit_doccano = LitDoccano()
def run(self):
self.lit_doccano.run()
def configure_layout(self):
return [{'name': 'doccano', 'content': self.lit_doccano}]
app = L.LightningApp(LitApp())