- Install all the modules (using pip)
pip install -r requirements.txt
- Open the
auth.py
file and add:
auth_token = "YOUR_AUTH_TOKEN"
Create, Copy & Replace the API Key from OpenAI website under 'User the Setting > View API Keys'. The 'auth.py' file would look like this: auth_token = "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"
- RUN APP FUNCTION
app.mainloop()
- From the root directory of 'app.py', run in terminal"
python app.py
or
python3 app.py