theQuert commited on
Commit
4fd2001
1 Parent(s): 2bafc5f

Fix api key

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -122,7 +122,7 @@ def config():
122
  load_dotenv()
123
 
124
  def call_gpt(paragraph, trigger):
125
- openai.api_key = os.environ.get("GPT_API")
126
  tokenizer = BartTokenizer.from_pretrained("theQuert/NetKUp-tokenzier")
127
  inputs_for_gpt = f"""
128
  s an article writer, your task is to provide an updated paragraph in the length same as non-updated paragraph based on the given non-updated paragraph and a triggered news.Remember, the length of updated paragraph is restricted into a single paragraph.
 
122
  load_dotenv()
123
 
124
  def call_gpt(paragraph, trigger):
125
+ openai.api_key = os.environ.get("GPT-API")
126
  tokenizer = BartTokenizer.from_pretrained("theQuert/NetKUp-tokenzier")
127
  inputs_for_gpt = f"""
128
  s an article writer, your task is to provide an updated paragraph in the length same as non-updated paragraph based on the given non-updated paragraph and a triggered news.Remember, the length of updated paragraph is restricted into a single paragraph.