mirror of
https://github.com/deepseek-ai/DeepSeek-VL
synced 2025-06-26 18:27:43 +00:00
feat: gradio demo integration (#16)
Co-authored-by: Bo Liu <benjaminliu.eecs@gmail.com> Co-authored-by: Haoyu Lu <ruclhy1998@163.com>
This commit is contained in:
4
Makefile
4
Makefile
@@ -4,7 +4,7 @@ COPYRIGHT = "DeepSeek."
|
||||
PROJECT_PATH = deepseek_vl
|
||||
SHELL = /bin/bash
|
||||
SOURCE_FOLDERS = deepseek_vl
|
||||
PYTHON_FILES = $(shell find $(SOURCE_FOLDERS) -type f -name "*.py" -o -name "*.pyi")
|
||||
PYTHON_FILES = $(shell find $(SOURCE_FOLDERS) -type f -name "*.py" -o -name "*.pyi") cli_chat.py inference.py
|
||||
COMMIT_HASH = $(shell git log -1 --format=%h)
|
||||
PATH := $(HOME)/go/bin:$(PATH)
|
||||
PYTHON ?= $(shell command -v python3 || command -v python)
|
||||
@@ -86,7 +86,7 @@ format: py-format-install ruff-install addlicense-install
|
||||
$(PYTHON) -m isort --project $(PROJECT_PATH) $(PYTHON_FILES)
|
||||
$(PYTHON) -m black $(PYTHON_FILES)
|
||||
$(PYTHON) -m ruff check . --fix --exit-zero
|
||||
addlicense -c $(COPYRIGHT) -ignore tests/coverage.xml -l mit -y 2023-$(shell date +"%Y") $(SOURCE_FOLDERS)
|
||||
addlicense -c $(COPYRIGHT) -ignore tests/coverage.xml -l mit -y 2023-$(shell date +"%Y") $(SOURCE_FOLDERS) cli_chat.py inference.py
|
||||
|
||||
clean-py:
|
||||
find . -type f -name '*.py[co]' -delete
|
||||
|
||||
Reference in New Issue
Block a user