Nachimak28 / LAI-image-to-audio

A simple Lightning component to generate an audio output from an input image.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LAI_image_to_audio component

This Lightning component was generated automatically with:

lightning init component LAI_image_to_audio

To run LAI_image_to_audio

First, install LAI_image_to_audio (warning: this component has not been officially approved on the lightning gallery):

lightning install component https://github.com/theUser/LAI_image_to_audio

Once the app is installed, use it in an app:

from LAI_image_to_audio import TemplateComponent
import lightning as L


class LitApp(L.LightningFlow):
    def __init__(self) -> None:
        super().__init__()
        self.LAI_image_to_audio = TemplateComponent()

    def run(self):
        print("this is a simple Lightning app to verify your component is working as expected")
        self.LAI_image_to_audio.run()


app = L.LightningApp(LitApp())

About

A simple Lightning component to generate an audio output from an input image.

License:Apache License 2.0


Languages

Language:Python 100.0%