Created
April 22, 2024 15:54
-
-
Save ahmednuaman/43e132c4e9b10e4a7c93366309bef8d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const reader = new FileReader() | |
reader.onload = async (e) => loadPrompt(e.target.result) | |
reader.readAsArrayBuffer(file) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment