alessandro trinca tornidor commited on
Commit
0b6c966
·
1 Parent(s): 448c0f8

ci: now gradio is optional

Browse files
Files changed (1) hide show
  1. pyproject.toml +6 -2
pyproject.toml CHANGED
@@ -18,8 +18,6 @@ Demo = "https://huggingface.co/spaces/aletrn/lisa-on-cuda/"
18
  python = ">=3.10, <3.12"
19
  einops = "^0.7.0"
20
  fastapi = "^0.110.0"
21
- gradio = "^4.21.0"
22
- gradio-client = "^0.12.0"
23
  markdown2 = "^2.4.13"
24
  nh3 = "^0.2.15"
25
  openai = "^1.13.3"
@@ -42,6 +40,12 @@ numpy = [
42
  {version = "^1.26", python = "~3.11"}
43
  ]
44
 
 
 
 
 
 
 
45
 
46
  [tool.poetry.group.test.dependencies]
47
  pytest = "^8.1.1"
 
18
  python = ">=3.10, <3.12"
19
  einops = "^0.7.0"
20
  fastapi = "^0.110.0"
 
 
21
  markdown2 = "^2.4.13"
22
  nh3 = "^0.2.15"
23
  openai = "^1.13.3"
 
40
  {version = "^1.26", python = "~3.11"}
41
  ]
42
 
43
+ [tool.poetry.group.gradio]
44
+ optional = true
45
+
46
+ [tool.poetry.group.gradio.dependencies]
47
+ gradio = "^4.21.0"
48
+ gradio-client = "^0.12.0"
49
 
50
  [tool.poetry.group.test.dependencies]
51
  pytest = "^8.1.1"