File size: 148 Bytes
215bb13
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import configparser

config = configparser.ConfigParser()

config.read('config.ini')

#openai apikey
OPENAI_API_KEY = config['Openai']['openai_key']