Spaces:
Running
Running
Commit
·
1464042
1
Parent(s):
f9fe5b7
Update page2.py
Browse files
page2.py
CHANGED
@@ -10,9 +10,10 @@ from langchain.prompts import PromptTemplate
|
|
10 |
from langchain.memory import ConversationBufferMemory
|
11 |
from langchain.memory.chat_message_histories import StreamlitChatMessageHistory
|
12 |
import os
|
13 |
-
|
14 |
# Streamlit app
|
15 |
def image():
|
|
|
16 |
st.markdown("""
|
17 |
<style>
|
18 |
.anim-typewriter {
|
|
|
10 |
from langchain.memory import ConversationBufferMemory
|
11 |
from langchain.memory.chat_message_histories import StreamlitChatMessageHistory
|
12 |
import os
|
13 |
+
|
14 |
# Streamlit app
|
15 |
def image():
|
16 |
+
key = os.environ.getattribute("api_key")
|
17 |
st.markdown("""
|
18 |
<style>
|
19 |
.anim-typewriter {
|