Spaces:
Runtime error
Runtime error
Jan Štihec
commited on
Commit
•
6b39be7
1
Parent(s):
4cb327c
Add secrets
Browse files- 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 = "
|
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):
|