diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-03-22 13:01:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-22 13:01:48 +0100 |
commit | cb74a39d9272801e5d264574fc16fce8ac89011d (patch) | |
tree | 81c2e2a16703797153f398953f757ef531c283ff /g4f/gui/client | |
parent | Merge pull request #1729 from hlohaus/giga (diff) | |
parent | Add updated requirements (diff) | |
download | gpt4free-cb74a39d9272801e5d264574fc16fce8ac89011d.tar gpt4free-cb74a39d9272801e5d264574fc16fce8ac89011d.tar.gz gpt4free-cb74a39d9272801e5d264574fc16fce8ac89011d.tar.bz2 gpt4free-cb74a39d9272801e5d264574fc16fce8ac89011d.tar.lz gpt4free-cb74a39d9272801e5d264574fc16fce8ac89011d.tar.xz gpt4free-cb74a39d9272801e5d264574fc16fce8ac89011d.tar.zst gpt4free-cb74a39d9272801e5d264574fc16fce8ac89011d.zip |
Diffstat (limited to 'g4f/gui/client')
-rw-r--r-- | g4f/gui/client/static/js/chat.v1.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/g4f/gui/client/static/js/chat.v1.js b/g4f/gui/client/static/js/chat.v1.js index bcef4a78..f9bc4568 100644 --- a/g4f/gui/client/static/js/chat.v1.js +++ b/g4f/gui/client/static/js/chat.v1.js @@ -240,26 +240,26 @@ async function add_message_chunk(message) { } } -cameraInput?.addEventListener("click", (e) => { - if (window?.pywebview) { - e.preventDefault(); - pywebview.api.choose_file(); - } -}) +// fileInput?.addEventListener("click", (e) => { +// if (window?.pywebview) { +// e.preventDefault(); +// pywebview.api.choose_file(); +// } +// }); cameraInput?.addEventListener("click", (e) => { if (window?.pywebview) { e.preventDefault(); pywebview.api.take_picture(); } -}) +}); imageInput?.addEventListener("click", (e) => { if (window?.pywebview) { e.preventDefault(); pywebview.api.choose_image(); } -}) +}); const ask_gpt = async () => { regenerate.classList.add(`regenerate-hidden`); |