hjxdl 0.2.2__py3-none-any.whl → 0.2.4__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 +2 -2
- hdl/utils/llm/chat_uitest.py +7 -2
- {hjxdl-0.2.2.dist-info → hjxdl-0.2.4.dist-info}/METADATA +1 -2
- {hjxdl-0.2.2.dist-info → hjxdl-0.2.4.dist-info}/RECORD +6 -6
- {hjxdl-0.2.2.dist-info → hjxdl-0.2.4.dist-info}/WHEEL +0 -0
- {hjxdl-0.2.2.dist-info → hjxdl-0.2.4.dist-info}/top_level.txt +0 -0
hdl/_version.py
CHANGED
hdl/utils/llm/chat_uitest.py
CHANGED
@@ -45,10 +45,15 @@ if __name__ == "__main__":
|
|
45
45
|
parser.add_argument("--llm_port", type=int, default=22277, help="The LLM server port.")
|
46
46
|
args = parser.parse_args()
|
47
47
|
|
48
|
+
args_dict = {
|
49
|
+
key.replace("-", "_"): value
|
50
|
+
for key, value in vars(args).items()
|
51
|
+
}
|
52
|
+
|
48
53
|
# 初始化连接到 LLM 服务器的接口,使用传入的 host 和 port
|
49
54
|
llm = OpenAI_M(
|
50
|
-
server_ip=
|
51
|
-
server_port=
|
55
|
+
server_ip=args_dict["llm_host"],
|
56
|
+
server_port=args_dict["llm_port"]
|
52
57
|
)
|
53
58
|
|
54
59
|
# 启动 Gradio 应用
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: hjxdl
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.4
|
4
4
|
Summary: A collection of functions for Jupyter notebooks
|
5
5
|
Home-page: https://github.com/huluxiaohuowa/hdl
|
6
6
|
Author: Jianxing Hu
|
@@ -14,7 +14,6 @@ Requires-Dist: beautifulsoup4
|
|
14
14
|
Requires-Dist: openai
|
15
15
|
Requires-Dist: tqdm
|
16
16
|
Requires-Dist: geopy
|
17
|
-
Requires-Dist: timezonefinder
|
18
17
|
Requires-Dist: pytz
|
19
18
|
Requires-Dist: duckduckgo-search[lxml]
|
20
19
|
Requires-Dist: opencv-python
|
@@ -1,5 +1,5 @@
|
|
1
1
|
hdl/__init__.py,sha256=GffnD0jLJdhkd-vo989v40N90sQbofkayRBwxc6TVhQ,72
|
2
|
-
hdl/_version.py,sha256=
|
2
|
+
hdl/_version.py,sha256=4gL0W4-u58XR5lRLpeoIPrGhcewTk0-527de6uTNmkg,411
|
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
|
@@ -128,7 +128,7 @@ hdl/utils/general/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
|
|
128
128
|
hdl/utils/general/glob.py,sha256=8-RCnt6L297wMIfn34ZAMCsGCZUjHG3MGglGZI1cX0g,491
|
129
129
|
hdl/utils/llm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
130
130
|
hdl/utils/llm/chat.py,sha256=OzyY9xACOOocx9zZigtq9YAPvHtDUo8v2fvf1Tyjg_U,14891
|
131
|
-
hdl/utils/llm/chat_uitest.py,sha256=
|
131
|
+
hdl/utils/llm/chat_uitest.py,sha256=VW4GLjWhBLAcDea0krkRFeedYazAgc0Dn3T-OFHX9kU,2514
|
132
132
|
hdl/utils/llm/embs.py,sha256=Tf0FOYrOFZp7qQpEPiSCXzlgyHH0X9HVTUtsup74a9E,7174
|
133
133
|
hdl/utils/llm/extract.py,sha256=2sK_WJzmYIc8iuWaM9DA6Nw3_6q1O4lJ5pKpcZo-bBA,6512
|
134
134
|
hdl/utils/llm/llama_chat.py,sha256=watcHGOaz-bv3x-yDucYlGk5f8FiqfFhwWogrl334fk,4387
|
@@ -137,7 +137,7 @@ hdl/utils/schedulers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
137
137
|
hdl/utils/schedulers/norm_lr.py,sha256=bDwCmdEK-WkgxQMFBiMuchv8Mm7C0-GZJ6usm-PQk14,4461
|
138
138
|
hdl/utils/weather/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
139
139
|
hdl/utils/weather/weather.py,sha256=k11o6wM15kF8b9NMlEfrg68ak-SfSYLN3nOOflFUv-I,4381
|
140
|
-
hjxdl-0.2.
|
141
|
-
hjxdl-0.2.
|
142
|
-
hjxdl-0.2.
|
143
|
-
hjxdl-0.2.
|
140
|
+
hjxdl-0.2.4.dist-info/METADATA,sha256=i0X2G6zTzFPBTqCiizg8HlyAQ3QyzJQCkY9SFxIooic,835
|
141
|
+
hjxdl-0.2.4.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
142
|
+
hjxdl-0.2.4.dist-info/top_level.txt,sha256=-kxwTM5JPhylp06z3zAVO3w6_h7wtBfBo2zgM6YZoTk,4
|
143
|
+
hjxdl-0.2.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|