{"id":19747990,"url":"https://github.com/tensorchord/modelz-moss","last_synced_at":"2026-06-04T20:31:32.778Z","repository":{"id":153940845,"uuid":"631180077","full_name":"tensorchord/modelz-moss","owner":"tensorchord","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-19T06:59:14.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-10T21:11:43.187Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tensorchord.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-04-22T07:26:40.000Z","updated_at":"2023-04-22T08:03:28.000Z","dependencies_parsed_at":"2024-01-23T22:05:37.509Z","dependency_job_id":null,"html_url":"https://github.com/tensorchord/modelz-moss","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":"tensorchord/modelz-template-gradio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fmodelz-moss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fmodelz-moss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fmodelz-moss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fmodelz-moss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tensorchord","download_url":"https://codeload.github.com/tensorchord/modelz-moss/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241078527,"owners_count":19905875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T02:19:42.189Z","updated_at":"2025-02-28T00:23:03.045Z","avatar_url":"https://github.com/tensorchord.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Modelz Gradio Template\n\nThis is a template for creating a [Gradio](https://gradio.app/) app on [Modelz](https://modelz.ai/).\n\nBuilding an Gradio app could be straightforward. You will need to provide three key components:\n\n- A `main.py` file: This file contains the code for making predictions.\n- A `requirements.txt` file: This file lists all the dependencies required for the server code to run.\n- A `Dockerfile` or a simpler [`build.envd`](https://envd.tensorchord.ai/guide/getting-started.html): This file contains instructions for building a Docker image that encapsulates the server code and its dependencies.\n\n## Build\n\nIn the `Dockerfile`, you need to define the instructions for building a Docker image that encapsulates the server code and its dependencies.\n\nIn most cases, you could use the template in the repository.\n\n```bash\ndocker build -t docker.io/USER/IMAGE .\ndocker push docker.io/USER/IMAGE\n\n# GPU\ndocker build -t docker.io/USER/IMAGE -f Dockerfile.gpu .\ndocker push docker.io/USER/IMAGE\n```\n\nOn the other hand, a [`build.envd`](https://envd.tensorchord.ai/guide/getting-started.html) is a simplified alternative to a Dockerfile. It provides python-based interfaces that contains configuration settings for building a image. \n\nIt is easier to use than a Dockerfile as it involves specifying only the dependencies of your machine learning model, not the instructions for CUDA, conda, and other system-level dependencies.\n\n```bash\nenvd build --output type=image,name=docker.io/USER/IMAGE,push=true\n# GPU\nenvd build --output type=image,name=docker.io/USER/IMAGE,push=true -f :build_gpu\n```\n\n## Deploy\n\nPlease refer to the [Modelz documentation](https://docs.modelz.ai/gettingstarted/deploy) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorchord%2Fmodelz-moss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftensorchord%2Fmodelz-moss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorchord%2Fmodelz-moss/lists"}