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:
haoy945
2024-03-13 17:47:43 +08:00
committed by GitHub
parent 86a309683b
commit 601426030d
24 changed files with 1787 additions and 44 deletions

View File

@@ -10,17 +10,30 @@ authors = [{name = "DeepSeek-AI"}]
license = {file = "LICENSE-CODE"}
urls = {homepage = "https://github.com/deepseek-ai/DeepSeek-VL"}
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.8, <3.10"
dependencies = [
"torch>=2.0.1",
"transformers>=4.38.2",
"timm>=0.9.16",
"gradio>=4.13.0",
"accelerate",
"sentencepiece",
"attrdict",
"einops",
]
[project.optional-dependencies]
gradio = [
"gradio==3.48.0",
"gradio-client==0.6.1",
"mdtex2html==1.3.0",
"pypinyin==0.50.0",
"tiktoken==0.5.2",
"tqdm==4.64.0",
"colorama==0.4.5",
"Pygments==2.12.0",
"markdown==3.4.1",
"SentencePiece==0.1.96"
]
[tool.setuptools]
packages = {find = {exclude = ["images"]}}