本地使用LangChain调用Ollama
1、先启环境:mkdir langChain-Ollama cd langChain-Ollama/ python3 -m venv .venv source .venv/bin/activate参考我自己的这一篇: https://blog.lemonhall.me/notesview/show/479 【wsl2...
菜谱、技术笔记和生活记录。
1、先启环境:mkdir langChain-Ollama cd langChain-Ollama/ python3 -m venv .venv source .venv/bin/activate参考我自己的这一篇: https://blog.lemonhall.me/notesview/show/479 【wsl2...
1、在商店里下载Enchanted2、配置ollama本身,改变其监听范围【参考资料: https://github.com/ollama/ollama/issues/1431 】sudo vim /etc/systemd/system/ollama.service[Service] Environment="OLL...
conda create --name spleeter Proceed ([y]/n)? y Preparing transaction: done Verifying transaction: done Executing transaction: done # # To activate this enviro...
目的是把自己的一段语音train到模型里面去,试试它能不能单独分离出来我个人的声音,从带中文的BGM里面1、在datafiles里面新建一个json文件cd datafiles/ ffmpeg -i test_speech.mp3 lemonhall.wav之前咱不是有一个mp3文件么,用ffmpeg给转换成wav去...
1、clone仓库 https://github.com/Audio-AGI/AudioSep 2、安装conda下载: https://www.anaconda.com/download#downloads 参考了自己的文章: https://blog.lemonhall.me/notesview/show/329...
1、opneai的页面 https://platform.openai.com/docs/guides/text-to-speech https://github.com/openai/whisper 对应的github的页面2、建立环境mkdir whisper cd whisper/ python3 -m ven...
1、安装一些依赖:pip install opencv-python pip install Pillow2、具体的一些编码:import pyautogui import time from pyautogui import ImageNotFoundException #已经选择的技能对象存储 selectd_s...
1、先拿到bilibli的凭证吧playwright codegen https://www.bilibili.com/ --save-storage=auth.json2、拿到凭证之后打开关注页面playwright codegen --load-storage=auth.json https://space.bi...
https://playwright.dev/python/docs/codegen#preserve-authenticated-state Preserve authenticated stateRun codegen with --save-storage to save cookies and localS...