hjxdl 0.3.44__py3-none-any.whl → 0.3.45__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
hdl/_version.py CHANGED
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '0.3.44'
21
- __version_tuple__ = version_tuple = (0, 3, 44)
20
+ __version__ = version = '0.3.45'
21
+ __version_tuple__ = version_tuple = (0, 3, 45)
hdl/utils/llm/vis.py CHANGED
@@ -24,7 +24,7 @@ from hdl.jupyfuncs.show.pbar import tqdm
24
24
  from redis.commands.search.query import Query
25
25
 
26
26
 
27
- from decord import VideoReader, cpu
27
+ # from decord import VideoReader, cpu
28
28
 
29
29
  import base64
30
30
  from io import BytesIO
@@ -739,6 +739,7 @@ class ImgHandler:
739
739
 
740
740
 
741
741
  def to_video_base64(video_path, max_frames=80, is_fps_sampling=True):
742
+ from decord import VideoReader, cpu
742
743
  """
743
744
  Converts a video file or a video from a given URL to a list of base64 encoded image frames.
744
745
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hjxdl
3
- Version: 0.3.44
3
+ Version: 0.3.45
4
4
  Summary: A collection of functions for Jupyter notebooks
5
5
  Home-page: https://github.com/huluxiaohuowa/hdl
6
6
  Author: Jianxing Hu
@@ -1,5 +1,5 @@
1
1
  hdl/__init__.py,sha256=GffnD0jLJdhkd-vo989v40N90sQbofkayRBwxc6TVhQ,72
2
- hdl/_version.py,sha256=xcJl53f6zetRKfsy3HEiGl8Dy2xBt96g8c9rL1TGCv4,513
2
+ hdl/_version.py,sha256=sXBGcIWDLj8FR5fLbBiA9_CD3lVchfZCUldQM71T_vg,513
3
3
  hdl/args/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  hdl/args/loss_args.py,sha256=s7YzSdd7IjD24rZvvOrxLLFqMZQb9YylxKeyelSdrTk,70
5
5
  hdl/controllers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -138,14 +138,14 @@ hdl/utils/llm/extract.py,sha256=2sK_WJzmYIc8iuWaM9DA6Nw3_6q1O4lJ5pKpcZo-bBA,6512
138
138
  hdl/utils/llm/llama_chat.py,sha256=watcHGOaz-bv3x-yDucYlGk5f8FiqfFhwWogrl334fk,4387
139
139
  hdl/utils/llm/llm_wrapper.py,sha256=90kuCEYMUAjJtjRSzwHTcQsprxaVHx8kyrtzl_aw1iY,15931
140
140
  hdl/utils/llm/ollama.py,sha256=uEdLsNAc6b56r37hNiE3nrd6oZ2lmQ0gYbVvOc9YVIM,1389
141
- hdl/utils/llm/vis.py,sha256=NdM1rwYYGIc5LPKsHTJMhzKPSZaEBUxA3LkyhC_wVfc,28766
141
+ hdl/utils/llm/vis.py,sha256=KuypafAuU4MEzJ5ywvopI0RcYjnyF_WKM_0oDUKbr8A,28808
142
142
  hdl/utils/llm/visrag.py,sha256=0i-VrxqgiV-J7R3VPshu9oc7-rKjFJOldYik3HDXj6M,10176
143
143
  hdl/utils/schedulers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
144
144
  hdl/utils/schedulers/norm_lr.py,sha256=bDwCmdEK-WkgxQMFBiMuchv8Mm7C0-GZJ6usm-PQk14,4461
145
145
  hdl/utils/weather/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
146
146
  hdl/utils/weather/weather.py,sha256=k11o6wM15kF8b9NMlEfrg68ak-SfSYLN3nOOflFUv-I,4381
147
- hjxdl-0.3.44.dist-info/licenses/LICENSE,sha256=lkMiSbeZHBQLB9LJEkS9-L3Z-LBC4yGnKrzHSG8RkPM,2599
148
- hjxdl-0.3.44.dist-info/METADATA,sha256=Dh5QefafotKsZmsBEXbOvg_OrvujTmmVuTV2zPPmqbA,1332
149
- hjxdl-0.3.44.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
150
- hjxdl-0.3.44.dist-info/top_level.txt,sha256=-kxwTM5JPhylp06z3zAVO3w6_h7wtBfBo2zgM6YZoTk,4
151
- hjxdl-0.3.44.dist-info/RECORD,,
147
+ hjxdl-0.3.45.dist-info/licenses/LICENSE,sha256=lkMiSbeZHBQLB9LJEkS9-L3Z-LBC4yGnKrzHSG8RkPM,2599
148
+ hjxdl-0.3.45.dist-info/METADATA,sha256=kv-jihrA3yTFbNyC0F-2I3GzaDL4ihOvGnJxDsO8KnY,1332
149
+ hjxdl-0.3.45.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
150
+ hjxdl-0.3.45.dist-info/top_level.txt,sha256=-kxwTM5JPhylp06z3zAVO3w6_h7wtBfBo2zgM6YZoTk,4
151
+ hjxdl-0.3.45.dist-info/RECORD,,
File without changes