Windows下如何釋放被占用的port
使用 docker 時候,常常遇到被占用的 port 要處理,這邊記錄下正確的處理方法
找到占用port的程式
netstat -ano | findstr 8080
會得到下面的輸出,最後面一個是 PID

查詢程式資訊
tasklist | findstr 8080
刪除占用的程式行程
舉例來說,我要刪除佔用了 port 50912 的程式,由上圖知道他的 PID 是 6664,那就輸入以下指令即可
taskkill /T /F /PID 6664
使用 docker 時候,常常遇到被占用的 port 要處理,這邊記錄下正確的處理方法
netstat -ano | findstr 8080
會得到下面的輸出,最後面一個是 PID

tasklist | findstr 8080
舉例來說,我要刪除佔用了 port 50912 的程式,由上圖知道他的 PID 是 6664,那就輸入以下指令即可
taskkill /T /F /PID 6664
終於來到電影中的AI操作電腦的情節了,動動嘴巴就可以控制電腦,AI 透過 LLM 模型,知道你的意圖,在看你的電腦畫面,去決定要點選甚麼樣的位置,或是輸入甚麼樣的資訊,原來可以這麼簡單就實現用嘴巴操作電腦

請先到這邊,https://www.anthropic.com/api,取得 API Key,等等 docker 建立的時候會用到
Linux / Mac
export ANTHROPIC_API_KEY=%your_api_key%
docker run \
-e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY \
-v $HOME/.anthropic:/home/computeruse/.anthropic \
-p 5900:5900 \
-p 8501:8501 \
-p 6080:6080 \
-p 8080:8080 \
-it ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latestWindows
export ANTHROPIC_API_KEY=%your_api_key%
docker run `
-e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY `
-v $HOME/.anthropic:/home/computeruse/.anthropic `
-p 5900:5900 `
-p 8501:8501 `
-p 6080:6080 `
-p 8080:8080 `
-it ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latest如果遇到別人包裝好的 docker (99%都是),常會遇到沒有 root 密碼的情形,這時候有幾個解決方法,列舉如下
docker exec -u 0 -it mycontainer bash
或是下面的指令也可以
docker exec -u root -it --workdir / <containerName> bash
passwd root
apt-get install sudo usermod -aG sudo dev
https://stackoverflow.com/questions/28721699/root-password-inside-a-docker-container
在數位創作領域,最近正在火 FLUX 1,但 AI 生成圖片新創不斷推成出新,而 Ideogram 則是近期受到矚目的服務之一。這項服務讓使用者可以通過簡單的文字輸入來生成高質量的圖片,並且在效果和功能上都有其獨特的優勢。

可以看到下圖,現在生成的人物,可以說是完全無法辨識是否為真人還是AI,這邊的模型也沒限制你明星是不能當作提示詞,所以你可以盡情想像和發揮,但有肖像權的問題時還是不建議商用

這個費用比起主流的服務也相對的有誠意,如果用起來滿意,是真的可以考慮買一下的

A photo of a 20-year-old Chinese model with brown hair. She is smiling and wearing a navy blue fitted t-shirt. She is standing at a convention center, surrounded by a crowd of people. The background contains a large stage with a banner that reads “Welcome to the International Fashion Convention”.

如有興趣,可直接訪問他們的官方網站了解更多:Ideogram 官方網站
可以中英文混合,笑聲,停頓的好用的語音生成模型
ChatTTS online DEMO https://chattts.com/#Demo
增強後好看又好用的 ChatTTS 外框 ChatTTS-Forge https://huggingface.co/spaces/lenML/ChatTTS-Forge
ChatTTS 官方說明 https://github.com/2noise/ChatTTS/blob/main/docs/cn/README.md
整合各種超強的 ChatTTS應用 https://github.com/libukai/Awesome-ChatTTS
ChatTTS 跟 Ollama 的整合 Demo https://github.com/melodylife/ollama-chat
近期留言