会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Wchime
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
11
下一页
2025年11月10日
AIGC系统
摘要: AIGC系统 源码及演示地址: 代码地址:https://gitee.com/mom925/aigc-serve-all 项目技术 后端:Fastapi+Mysql+Redis+RabbitMQ+ComfyUI+LangChain+LangGraph 前端:Vite+Vue3+Pinia 功能:聊天
阅读全文
posted @ 2025-11-10 21:26 Wchime
阅读(8)
评论(0)
推荐(0)
2025年10月27日
使用sentence_transformers对文本进行重新排序
摘要: # -*- coding: utf-8 -*- # @File: sentence_sorted.py # @Author: # @DateTime: 2025/10/23/16:09 # pip install sentence_transformers # sentence-transforme
阅读全文
posted @ 2025-10-27 11:05 Wchime
阅读(5)
评论(0)
推荐(0)
使用paddleocr提取PDF和图片文本
摘要: # pip install paddlepaddle paddleocr import sys from pathlib import Path current_path = Path(__file__).resolve().parent sys.path.append(str(current_pa
阅读全文
posted @ 2025-10-27 10:57 Wchime
阅读(59)
评论(0)
推荐(0)
2025年2月24日
python进行大乐透和双色球选号(LSTM预测和随机选号)
摘要: 文章仅供参考学习 1.LSTM预测 首先去爬取数据 这个是爬取大乐透的,从07年爬到最新一期 import requests from bs4 import BeautifulSoup import csv # 目标URL url = 'http://datachart.500.com/dlt/hi
阅读全文
posted @ 2025-02-24 11:22 Wchime
阅读(726)
评论(0)
推荐(0)
django中自定义redis队列
摘要: import json import threading import time from django.core.cache import cache from django_redis import get_redis_connection cnn = get_redis_connection(
阅读全文
posted @ 2025-02-24 09:59 Wchime
阅读(20)
评论(0)
推荐(0)
2024年12月11日
python 获取mqtt客户端连接信息
摘要: 使用mosquitto 通过将日志发布到topic 配置文件 mosquitto.conf log_type all log_dest topic $SYS/broker/log/ python 接收消息回调函数 pattern = "New client connected from (.*?)
阅读全文
posted @ 2024-12-11 18:15 Wchime
阅读(147)
评论(0)
推荐(0)
2024年12月9日
Fastapi链接Redis
摘要: def register_redis(app: FastAPI) -> None: """ 把redis挂载到app对象上面 :param app: :return: """ @app.on_event('startup') async def startup_event(): """ 获取链接 :
阅读全文
posted @ 2024-12-09 16:54 Wchime
阅读(101)
评论(0)
推荐(0)
2024年11月16日
Gin连接使用COS
摘要: package storage import ( "context" "WchimeGinSystem/conf" "WchimeGinSystem/utils" "io" "log" "net/http" "net/url" "path/filepath" "strings" "time" "gi
阅读全文
posted @ 2024-11-16 10:59 Wchime
阅读(49)
评论(0)
推荐(0)
Gin连接Minio
摘要: package storage import ( "context" "fmt" "WchimeGinSystem/conf" "WchimeGinSystem/utils" "io" "log" "path/filepath" "strings" "time" "github.com/minio/
阅读全文
posted @ 2024-11-16 10:57 Wchime
阅读(95)
评论(0)
推荐(0)
Gin链接Redis
摘要: package cache import ( "context" "fmt" "WchimeGinSystem/conf" "log" "time" "github.com/go-redis/redis/v8" ) var CTX = context.Background() var RDB *re
阅读全文
posted @ 2024-11-16 10:55 Wchime
阅读(48)
评论(0)
推荐(0)
1
2
3
4
5
···
11
下一页
公告