Spaces:
Runtime error
Runtime error
Commit
Β·
51e1f3c
1
Parent(s):
3496946
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,6 @@ from langchain.llms import OpenAI
|
|
4 |
st.title('π¦π Quickstart App')
|
5 |
|
6 |
# openai_api_key = st.sidebar.text_input('OpenAI API Key')
|
7 |
-
openai_api_key = "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"
|
8 |
|
9 |
def generate_response(input_text):
|
10 |
llm = OpenAI(temperature=0.7, openai_api_key=openai_api_key)
|
|
|
4 |
st.title('π¦π Quickstart App')
|
5 |
|
6 |
# openai_api_key = st.sidebar.text_input('OpenAI API Key')
|
|
|
7 |
|
8 |
def generate_response(input_text):
|
9 |
llm = OpenAI(temperature=0.7, openai_api_key=openai_api_key)
|