shreyashankar / gpt3-sandbox

The goal of this project is to enable users to create cool web demos using the newly released OpenAI GPT-3 API with just a few lines of Python.
MIT License
2.9k stars 879 forks source link

Trouble when running examples #100

Closed juliatessler closed 2 years ago

juliatessler commented 2 years ago

Hi!

I'm trying to run any of the examples in the examples folder, but I'm stuck with the same screen that shows the default text for the UI (I uploaded an screenshot of what I got from examples/run_latex_app.py). Also, inputting anything there and trying to submit does nothing.

image

I have followed all the Setup steps in README and, from what I gather, the text in the UI should be different from what I see. Do you have any ideas of what I could have done wrong?

P.S.: my OpenAI console shows that my key hasn't been used. And I exported the config file as indicated in README.

shreyashankar commented 2 years ago

Can you post a screenshot of your terminal once the web app is launched? Are there any GET or POST requests made?

juliatessler commented 2 years ago

Sure! There are no other messages other than these

image
shreyashankar commented 2 years ago

Weird. If you inspect the chrome console, are there any errors?

juliatessler commented 2 years ago

So, I've never done that, so I might have gotten the wrong information. But I found some 403 errors in the console! If I'm not looking at the right place, please let me know (:

Failed to load resource: the server responded with a status of 403 (Forbidden)

image

Also, could this be regarding the OpenAI Key? Or should the error look different if it was a key problem?

juliatessler commented 2 years ago

Update: I downgrade Node to version 16 (was using 17.5) and it worked!

shreyashankar commented 2 years ago

Oh thank you for letting me know!