WebGPT icon indicating copy to clipboard operation
WebGPT copied to clipboard

I get this error lol

Open adarshxs opened this issue 2 years ago • 2 comments

Access to fetch at 'file:///C:/Users/idgaf/OneDrive/Desktop/WebGPT/models/better_shakespeare/params_gpt.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome, https, chrome-untrusted.

Cuz we are loading the model using either file:// or C:/, which stays true to the error message as they are not http://

I'll PR a fix in the readme

adarshxs avatar Apr 22 '23 14:04 adarshxs

Ah got it, I should make this clearer.

0hq avatar Apr 22 '23 18:04 0hq

Ya just spin up a local server in the working dir

adarshxs avatar Apr 23 '23 09:04 adarshxs