From 72c3f337a7cc1bc6719a26f203fe193ea5455862 Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Wed, 8 Nov 2023 20:02:24 +0800 Subject: [PATCH] update readme --- README.md | 2 ++ src/chatbox.tsx | 14 ++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/README.md b/README.md index 08536a9..cb3e4b4 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ ChatGPT API WEB 是为 ChatGPT 的日常用户和 Prompt 工程师设计的项 - 小(整个网页 30k 左右) - 可以设置不同的 API Endpoint(方便墙内人士使用反向代理转发 API 请求) - 支持 Whisper 语音转文字输入,将会使用历史对话记录和当前输入框内的文本作为 Prompt,提高专有名词识别率 +- 支持 TTS API +- 支持 GPT-4v 图片输入 ## 屏幕截图 diff --git a/src/chatbox.tsx b/src/chatbox.tsx index f47f512..c0f95a8 100644 --- a/src/chatbox.tsx +++ b/src/chatbox.tsx @@ -730,6 +730,20 @@ export default function ChatBOX(props: { > 🖋 + { + if (image.image_url === undefined) return; + image.image_url.detail = + image.image_url?.detail === "low" ? "high" : "low"; + setImages([...images]); + }} + > + + +