From a4e55421ef24eff23a4a1ae9dfa219fc67c21027 Mon Sep 17 00:00:00 2001 From: KeesGeerligs <166137421+KeesGeerligs@users.noreply.github.com> Date: Thu, 5 Dec 2024 16:25:08 +0100 Subject: [PATCH] Added featured and hello world --- templates/Nosana-RAG-bot-webui/info.json | 2 +- templates/Pytorch-jupyter-notebook/info.json | 2 +- templates/Rstudio/info.json | 2 +- .../Tensorflow-jupyter-notebook/info.json | 2 +- templates/Text-To-Speech-UI/info.json | 2 +- templates/VScode-server/info.json | 2 +- templates/Whisper-ASR-API/info.json | 2 +- templates/hello-world/README.md | 3 +++ templates/hello-world/info.json | 8 ++++++++ templates/hello-world/job-definition.json | 18 ++++++++++++++++++ 10 files changed, 36 insertions(+), 7 deletions(-) create mode 100644 templates/hello-world/README.md create mode 100644 templates/hello-world/info.json create mode 100644 templates/hello-world/job-definition.json diff --git a/templates/Nosana-RAG-bot-webui/info.json b/templates/Nosana-RAG-bot-webui/info.json index 5686f9d..d84ee09 100644 --- a/templates/Nosana-RAG-bot-webui/info.json +++ b/templates/Nosana-RAG-bot-webui/info.json @@ -3,6 +3,6 @@ "name": "Nosana RAG Bot WebUI", "description": "A web UI for Nosana's Retrieval-Augmented Generation (RAG) bot.", "category": ["Web UI"], - "subcategory": ["Featured"], + "subcategory": ["Other"], "icon": "https://nosana.io/img/Nosana_Logomark_color.png" } diff --git a/templates/Pytorch-jupyter-notebook/info.json b/templates/Pytorch-jupyter-notebook/info.json index de569a3..9cdad42 100644 --- a/templates/Pytorch-jupyter-notebook/info.json +++ b/templates/Pytorch-jupyter-notebook/info.json @@ -3,7 +3,7 @@ "name": "Jupyter Notebook with pytorch:2.4.0-cuda12.1-cudnn9-runtime", "description": "Jupyter Notebook Service", "category": ["Web UI"], - "subcategory": ["Featured"], + "subcategory": ["Other"], "icon": "https://www.google.com/imgres?q=pytorch%20logo&imgurl=https%3A%2F%2Fwww.clipartmax.com%2Fpng%2Fmiddle%2F476-4769276_pytorch-logo-png.png&imgrefurl=https%3A%2F%2Fwww.clipartmax.com%2Fmiddle%2Fm2H7m2i8H7A0A0G6_pytorch-logo-png%2F&docid=AWv1vZ_1ftQU9M&tbnid=6aaNrsdmoeEDjM&vet=12ahUKEwjT3cHsupCKAxVZgP0HHbcpHagQM3oECH0QAA..i&w=840&h=848&hcb=2&ved=2ahUKEwjT3cHsupCKAxVZgP0HHbcpHagQM3oECH0QAA", "github_url": "https://github.com/pytorch/pytorch" } \ No newline at end of file diff --git a/templates/Rstudio/info.json b/templates/Rstudio/info.json index 494c676..3ed4653 100644 --- a/templates/Rstudio/info.json +++ b/templates/Rstudio/info.json @@ -3,7 +3,7 @@ "name": "RStudio Server", "description": "Run RStudio Server on a remote server accessible through your browser, enabling a consistent and powerful development environment for R.", "category": ["Web UI"], - "subcategory": ["Featured"], + "subcategory": ["Other"], "icon": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/R_logo.svg/1200px-R_logo.svg.png", "github_url": "https://github.com/rocker-org/rocker" } diff --git a/templates/Tensorflow-jupyter-notebook/info.json b/templates/Tensorflow-jupyter-notebook/info.json index 1ab67bb..d899f84 100644 --- a/templates/Tensorflow-jupyter-notebook/info.json +++ b/templates/Tensorflow-jupyter-notebook/info.json @@ -3,7 +3,7 @@ "name": "Jupyter Notebook with Tensorflow", "description": "Jupyter Notebook Service", "category": ["Web UI"], - "subcategory": ["Featured"], + "subcategory": ["Other"], "icon": "https://user-images.githubusercontent.com/40668801/42043955-fbb838a2-7af7-11e8-9795-7f890e871d13.png", "github_url": "https://github.com/tensorflow/tensorflow" } \ No newline at end of file diff --git a/templates/Text-To-Speech-UI/info.json b/templates/Text-To-Speech-UI/info.json index 64fc6da..b3526fc 100644 --- a/templates/Text-To-Speech-UI/info.json +++ b/templates/Text-To-Speech-UI/info.json @@ -3,7 +3,7 @@ "name": "Text to Speech Generation UI", "description": "A web interface for generating speech from text using various TTS models", "category": ["Web UI"], - "subcategory": ["Featured"], + "subcategory": ["Other"], "icon": "https://cdn-icons-png.flaticon.com/512/8984/8984813.png", "github_url": "https://github.com/coqui-ai/TTS" } \ No newline at end of file diff --git a/templates/VScode-server/info.json b/templates/VScode-server/info.json index c031a50..d578356 100644 --- a/templates/VScode-server/info.json +++ b/templates/VScode-server/info.json @@ -3,7 +3,7 @@ "name": "VSCode Server", "description": "Run Visual Studio Code on a remote server accessible through your browser, enabling a consistent and powerful development environment.", "category": ["Web UI"], - "subcategory": ["Featured"], + "subcategory": ["Other"], "icon": "https://avatars.githubusercontent.com/u/12324908?s=280&v=4", "github_url": "https://github.com/coder/code-server" } diff --git a/templates/Whisper-ASR-API/info.json b/templates/Whisper-ASR-API/info.json index dbe7002..934436d 100644 --- a/templates/Whisper-ASR-API/info.json +++ b/templates/Whisper-ASR-API/info.json @@ -3,7 +3,7 @@ "name": "Whisper ASR Webservice", "description": "A robust speech recognition service powered by OpenAI's Whisper model, supporting multilingual transcription, translation, and language identification.", "category": ["API Only"], - "subcategory": ["Featured"], + "subcategory": ["Other"], "icon": "https://www.datocms-assets.com/96965/1685731715-open-ai-stars-2x.png", "github_url": "https://github.com/openai/whisper" } diff --git a/templates/hello-world/README.md b/templates/hello-world/README.md new file mode 100644 index 0000000..5e1b7fb --- /dev/null +++ b/templates/hello-world/README.md @@ -0,0 +1,3 @@ +# Hello World Template + +This is a simple template that prints hello world with the 'ubuntu' docker image. \ No newline at end of file diff --git a/templates/hello-world/info.json b/templates/hello-world/info.json new file mode 100644 index 0000000..502c09c --- /dev/null +++ b/templates/hello-world/info.json @@ -0,0 +1,8 @@ +{ + "id": "hello-world", + "name": "Hello World", + "description": "Echo hello world in a ubuntu docker container", + "category": ["Other"], + "subcategory": ["Other"], + "icon": "https://miro.medium.com/v2/resize:fit:1000/1*aPfdrf5Y14OzFUXgEwB9TA.jpeg" +} \ No newline at end of file diff --git a/templates/hello-world/job-definition.json b/templates/hello-world/job-definition.json new file mode 100644 index 0000000..65b0c48 --- /dev/null +++ b/templates/hello-world/job-definition.json @@ -0,0 +1,18 @@ +{ + "version": "0.1", + "type": "container", + "meta": { + "trigger": "job-builder" + }, + "ops": [ + { + "type": "container/run", + "id": "hello-world", + "args": { + "cmd": "echo hello world", + "image": "ubuntu", + "gpu": true + } + } + ] +} \ No newline at end of file