duchaba commited on
Commit
e5ba406
1 Parent(s): 5e1abc1

read in the key

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -821,6 +821,13 @@ monty = Pluto_Happy('Monty, Monty Said!')
821
  fname = 'toxic_data.csv'
822
  monty.df_toxic_data = pandas.read_csv(fname)
823
 
 
 
 
 
 
 
 
824
  # for openai version 1.3.8
825
  @add_method(Pluto_Happy)
826
  #
 
821
  fname = 'toxic_data.csv'
822
  monty.df_toxic_data = pandas.read_csv(fname)
823
 
824
+ # read in the keys
825
+ import os
826
+ monty._openai_key=os.getenv('openai_key')
827
+ monty._github_key=os.getenv('github_key')
828
+ monty._huggingface_key=os.getenv('huggingface_key')
829
+ monty._kaggle_key=os.getenv('kaggle_key')
830
+
831
  # for openai version 1.3.8
832
  @add_method(Pluto_Happy)
833
  #