Jan Štihec commited on
Commit
6b39be7
1 Parent(s): 4cb327c

Add secrets

Browse files
Files changed (1) hide show
  1. GPTHelper.py +2 -1
GPTHelper.py CHANGED
@@ -2,8 +2,9 @@ import openai
2
  from time import time
3
  import os
4
  import logging
 
5
 
6
- openai.api_key = "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"
7
 
8
 
9
  def gpt_rephrase(fact):
 
2
  from time import time
3
  import os
4
  import logging
5
+ import streamlit
6
 
7
+ openai.api_key = st.secrets["openai_api_key"]
8
 
9
 
10
  def gpt_rephrase(fact):