shivam2k3 commited on
Commit
ecfe060
·
1 Parent(s): cea0ed8

Bump gradio to 5.x to satisfy fastapi 0.115 pin

Browse files

gradio 4.43 caps fastapi<0.113 which conflicts with the 0.115.5 pin
required elsewhere; gradio 5 drops that cap. The demo only uses Blocks,
Markdown, Button, State, Row, themes.Soft, and mount_gradio_app, which
are all present and stable in v5.

Made-with: Cursor

Files changed (2) hide show
  1. pyproject.toml +1 -1
  2. requirements.txt +1 -1
pyproject.toml CHANGED
@@ -14,7 +14,7 @@ dependencies = [
14
  "httpx>=0.28.1,<0.29",
15
  "openenv-core>=0.2.0",
16
  "pyyaml==6.0.2",
17
- "gradio>=4.40,<5",
18
  ]
19
 
20
  [project.optional-dependencies]
 
14
  "httpx>=0.28.1,<0.29",
15
  "openenv-core>=0.2.0",
16
  "pyyaml==6.0.2",
17
+ "gradio>=5.0,<6",
18
  ]
19
 
20
  [project.optional-dependencies]
requirements.txt CHANGED
@@ -5,4 +5,4 @@ requests==2.32.3
5
  httpx>=0.28.1,<0.29
6
  openenv-core>=0.2.0
7
  pyyaml==6.0.2
8
- gradio>=4.40,<5
 
5
  httpx>=0.28.1,<0.29
6
  openenv-core>=0.2.0
7
  pyyaml==6.0.2
8
+ gradio>=5.0,<6