diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-03-22 07:36:32 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-03-22 07:36:32 +0800 |
commit | 3f1fb23e21a37a15469e42cdda610fb42a9001b7 (patch) | |
tree | 2afd4e0ac36a57e687eb83a0458921281851c1e7 /bin/gpt/gpt.image | |
parent | 3b8b1fcdb12c91d5a8d43f2006c9a7f9a83ad485 (diff) |
Update
Diffstat (limited to 'bin/gpt/gpt.image')
-rwxr-xr-x | bin/gpt/gpt.image | 2 |
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} | |||
59 | n=${n:-1} | 59 | n=${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 |
65 | body="$(cat <<EOF | 65 | body="$(cat <<EOF |