Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,11 +5,12 @@ from langchain.prompts import PromptTemplate
|
|
| 5 |
from langchain.chains import LLMChain, SequentialChain
|
| 6 |
from langchain.memory import ConversationBufferMemory
|
| 7 |
from langchain.utilities import WikipediaAPIWrapper
|
|
|
|
|
|
|
| 8 |
OPENAI_KEY = os.getenv("OPENAI_API_KEY")
|
| 9 |
os.environ['OPENAI_API_KEY'] = OPENAI_KEY
|
| 10 |
|
| 11 |
|
| 12 |
-
os.environ['OPENAI_API_KEY']=apikey
|
| 13 |
# app framework
|
| 14 |
st.title('Youtube Content Studio π')
|
| 15 |
prompt=st.text_input('Plug in your prompt here')
|
|
|
|
| 5 |
from langchain.chains import LLMChain, SequentialChain
|
| 6 |
from langchain.memory import ConversationBufferMemory
|
| 7 |
from langchain.utilities import WikipediaAPIWrapper
|
| 8 |
+
|
| 9 |
+
|
| 10 |
OPENAI_KEY = os.getenv("OPENAI_API_KEY")
|
| 11 |
os.environ['OPENAI_API_KEY'] = OPENAI_KEY
|
| 12 |
|
| 13 |
|
|
|
|
| 14 |
# app framework
|
| 15 |
st.title('Youtube Content Studio π')
|
| 16 |
prompt=st.text_input('Plug in your prompt here')
|