aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/gpt/gpt.image
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-03-22 07:36:32 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-03-22 07:36:32 +0800
commit3f1fb23e21a37a15469e42cdda610fb42a9001b7 (patch)
tree2afd4e0ac36a57e687eb83a0458921281851c1e7 /bin/gpt/gpt.image
parent3b8b1fcdb12c91d5a8d43f2006c9a7f9a83ad485 (diff)
Update
Diffstat (limited to 'bin/gpt/gpt.image')
-rwxr-xr-xbin/gpt/gpt.image2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gpt/gpt.image b/bin/gpt/gpt.image
index 5f85fc0..34f93f2 100755
--- a/bin/gpt/gpt.image
+++ b/bin/gpt/gpt.image
@@ -59,7 +59,7 @@ response_format=${response_format:-url}
59n=${n:-1} 59n=${n:-1}
60 60
61# Read content from terminal 61# Read content from terminal
62[ -z "$prompt" ] && read -r -p "What image you want? " prompt </dev/tty 62[ -z "$prompt" ] && read -e -r -p "What image you want? " prompt </dev/tty
63 63
64# Create request body 64# Create request body
65body="$(cat <<EOF 65body="$(cat <<EOF