Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,9 @@ with st.sidebar:
|
|
| 32 |
st.markdown(
|
| 33 |
"For more information about the models, see [here](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo)."
|
| 34 |
)
|
| 35 |
-
OPENAI_API_KEY = st.text_input("API Key", type="password")
|
|
|
|
|
|
|
| 36 |
|
| 37 |
# Instantiate your tools: Search engine tool duckduckgo-search
|
| 38 |
search_tool = DuckDuckGoSearchRun()
|
|
|
|
| 32 |
st.markdown(
|
| 33 |
"For more information about the models, see [here](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo)."
|
| 34 |
)
|
| 35 |
+
global OPENAI_API_KEY = st.text_input("API Key", type="password")
|
| 36 |
+
|
| 37 |
+
|
| 38 |
|
| 39 |
# Instantiate your tools: Search engine tool duckduckgo-search
|
| 40 |
search_tool = DuckDuckGoSearchRun()
|