File size: 936 Bytes
07ff2cb
 
 
 
11bc8fb
 
07ff2cb
d8e87af
 
 
 
 
07ff2cb
 
 
2fc33d9
07ff2cb
 
 
 
 
 
 
 
 
11bc8fb
07ff2cb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Hugging Face Space — runtime dependencies for FinAgent.
#
# This file is consumed by the Space builder and installs into a CPU-only
# environment (the GPU inference runs elsewhere on AMD Developer Cloud).
# Pins here stay tight where they matter and relax where the resolver
# needs room (notably gradio vs crewai on aiofiles).

# Gradio frontend framework. Pinned to 6.x because gradio 4.44 / 5.x cap
# aiofiles<24 while crewai 1.14 pins aiofiles~=24.1 — they are
# resolver-incompatible. Gradio 6 dropped the aiofiles dependency
# entirely so both packages can coexist.
gradio>=6.0,<7

# Agent orchestration
crewai==1.14.4
langchain-openai>=1.2,<2

# Market / tool data providers
yfinance==1.3.0
ddgs>=9.0,<10
pandas-ta-remake==1.0.4

# pandas-ta-remake 1.0.4 still imports pkg_resources; Setuptools >=81 removed it.
setuptools<81

# Tokenizers 0.20.x lacks DecodeStream on Python 3.13; crewai needs >=0.21.
tokenizers>=0.21,<1