update readme

This commit is contained in:
2023-11-08 20:02:24 +08:00
parent 0c8938dea5
commit 72c3f337a7
2 changed files with 16 additions and 0 deletions

View File

@@ -730,6 +730,20 @@ export default function ChatBOX(props: {
>
🖋
</button>
<span
onClick={() => {
if (image.image_url === undefined) return;
image.image_url.detail =
image.image_url?.detail === "low" ? "high" : "low";
setImages([...images]);
}}
>
<label>HiRes</label>
<input
type="checkbox"
checked={image.image_url?.detail === "high"}
/>
</span>
<button
onClick={() => {
if (!confirm("Are you sure to delete this image?")) {