aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/gpt/gpt.image
diff options
context:
space:
mode:
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