Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
# app.py
from lightning.app import LightningWork, LightningApp, CloudCompute
class YourComponent(LightningWork):
def run(self):
print('RUN ANY PYTHON CODE HERE')
# run on a cloud machine ("cpu", "gpu", ...)
component = YourComponent(cloud_compute=CloudCompute("cpu"))
app = LightningApp(component)