NeuralJunkie commited on
Commit
57eaad1
·
1 Parent(s): 4ec1a37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import openai
2
  import csv
 
3
 
4
- openai.api_key = "YOUR_API_KEY"
5
 
6
  prompt_templates = {"Math Teacher": "I want you to act as a math teacher. I will provide some mathematical equations or concepts, and it will be your job to explain them in easy-to-understand terms. This could include providing step-by-step instructions for solving a problem, demonstrating various techniques with visuals or suggesting online resources for further study. My first request is 'I need help understanding how probability works.'"}
7
 
 
1
  import openai
2
  import csv
3
+ import os
4
 
5
+ openai.api_key = os.environ["API_KEY"]
6
 
7
  prompt_templates = {"Math Teacher": "I want you to act as a math teacher. I will provide some mathematical equations or concepts, and it will be your job to explain them in easy-to-understand terms. This could include providing step-by-step instructions for solving a problem, demonstrating various techniques with visuals or suggesting online resources for further study. My first request is 'I need help understanding how probability works.'"}
8