Spaces:
Runtime error
Runtime error
ifneq (,$(wildcard ./.env)) | |
include .env | |
# assume includes OPENAI_API_KEY for LLM inference | |
export | |
endif | |
.PHONY: help | |
.DEFAULT_GOAL := help | |
help: ## get a list of all the targets, and their short descriptions | |
@# source for the incantation: https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html | |
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' Makefile | awk 'BEGIN {FS = ":.*?##"}; {printf "\033[36m%-12s\033[0m %s\n", $$1, $$2}' | |
serve: ## serve this locally | |
gradio app.py | |
environment: ## installs requirements | |
pip install -q -r requirements.txt | |