Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

A sample app which uses Monaco Editor integration, and runs the script on frame from webcam

License

Notifications You must be signed in to change notification settings

Lightning-Universe/CodeRunner_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo

Latest demo: https://01g6q1yb0qcvg42548kj2nqbje.litng-ai-03.litng.ai/view/React%20UI

Milestone v0.1 Tracker

All the issues are tracked here: #1.

Goal

Here is how the initial goal for this app looked like:

  1. One work will have the editor running, they'll have a template with a class method having an input as a frame coming from the webcam -- they are free to play around with it, write the code, and return the modified frame.
  2. Click submit, and demo!
  3. It can be served with gradio - and the next tab will show the input video, as well as the output video frame by frame.

Might change with time. :)

Running (locally/cloud)

git clone git@github.com:Lightning-AI/LAI-CodeRunner-App.git && cd LAI-CodeRunner-App
pip install lightning
# Locally
lightning run app app.py
# Cloud
lightning run app app.py --cloud

Development (Building)

git clone git@github.com:Lightning-AI/LAI-CodeRunner-App.git && cd LAI-CodeRunner-App
pip install lightning
cd ui/ && yarn install && yarn build
# To just test the UI:
yarn start
# And open localhost:8080
# Else just run the app
cd ../ && lightning run app app.py

About

A sample app which uses Monaco Editor integration, and runs the script on frame from webcam

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published