Spaces:
Configuration error
Configuration error
Fedir Zadniprovskyi
commited on
Commit
·
8900179
1
Parent(s):
f5b5ebf
deps: add httpx-sse dev
Browse files- flake.nix +1 -0
- poetry.lock +12 -1
- pyproject.toml +1 -0
flake.nix
CHANGED
@@ -32,6 +32,7 @@
|
|
32 |
websocat
|
33 |
];
|
34 |
shellHook = ''
|
|
|
35 |
source $(poetry env info --path)/bin/activate
|
36 |
export LD_LIBRARY_PATH=${pkgs.stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH
|
37 |
export LD_LIBRARY_PATH=${pkgs.zlib}/lib:$LD_LIBRARY_PATH
|
|
|
32 |
websocat
|
33 |
];
|
34 |
shellHook = ''
|
35 |
+
poetry env use python3.12
|
36 |
source $(poetry env info --path)/bin/activate
|
37 |
export LD_LIBRARY_PATH=${pkgs.stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH
|
38 |
export LD_LIBRARY_PATH=${pkgs.zlib}/lib:$LD_LIBRARY_PATH
|
poetry.lock
CHANGED
@@ -639,6 +639,17 @@ cli = ["click (==8.*)", "pygments (==2.*)", "rich (>=10,<14)"]
|
|
639 |
http2 = ["h2 (>=3,<5)"]
|
640 |
socks = ["socksio (==1.*)"]
|
641 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
642 |
[[package]]
|
643 |
name = "huggingface-hub"
|
644 |
version = "0.23.2"
|
@@ -2005,4 +2016,4 @@ resolved_reference = "21924742f79ccbd62d16ef4120518c6a5da8614e"
|
|
2005 |
[metadata]
|
2006 |
lock-version = "2.0"
|
2007 |
python-versions = "^3.12"
|
2008 |
-
content-hash = "
|
|
|
639 |
http2 = ["h2 (>=3,<5)"]
|
640 |
socks = ["socksio (==1.*)"]
|
641 |
|
642 |
+
[[package]]
|
643 |
+
name = "httpx-sse"
|
644 |
+
version = "0.4.0"
|
645 |
+
description = "Consume Server-Sent Event (SSE) messages with HTTPX."
|
646 |
+
optional = false
|
647 |
+
python-versions = ">=3.8"
|
648 |
+
files = [
|
649 |
+
{file = "httpx-sse-0.4.0.tar.gz", hash = "sha256:1e81a3a3070ce322add1d3529ed42eb5f70817f45ed6ec915ab753f961139721"},
|
650 |
+
{file = "httpx_sse-0.4.0-py3-none-any.whl", hash = "sha256:f329af6eae57eaa2bdfd962b42524764af68075ea87370a2de920af5341e318f"},
|
651 |
+
]
|
652 |
+
|
653 |
[[package]]
|
654 |
name = "huggingface-hub"
|
655 |
version = "0.23.2"
|
|
|
2016 |
[metadata]
|
2017 |
lock-version = "2.0"
|
2018 |
python-versions = "^3.12"
|
2019 |
+
content-hash = "0339ad1c40fad7ef69af9bda6c5754e3dac27a53ac33c8dbec9864cc70bbee43"
|
pyproject.toml
CHANGED
@@ -20,6 +20,7 @@ httpx = "^0.27.0"
|
|
20 |
pytest-xdist = "^3.6.1"
|
21 |
youtube-dl = {git = "https://github.com/ytdl-org/youtube-dl.git"}
|
22 |
openai = "^1.30.3"
|
|
|
23 |
|
24 |
[tool.ruff]
|
25 |
target-version = "py312"
|
|
|
20 |
pytest-xdist = "^3.6.1"
|
21 |
youtube-dl = {git = "https://github.com/ytdl-org/youtube-dl.git"}
|
22 |
openai = "^1.30.3"
|
23 |
+
httpx-sse = "^0.4.0"
|
24 |
|
25 |
[tool.ruff]
|
26 |
target-version = "py312"
|