Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
import openai
|
3 |
|
4 |
# Set your OpenAI API key using Streamlit secrets
|
5 |
-
openai.api_key =
|
6 |
|
7 |
# Create an OpenAI client using the new API structure
|
8 |
client = openai.OpenAI(api_key=openai.api_key)
|
|
|
2 |
import openai
|
3 |
|
4 |
# Set your OpenAI API key using Streamlit secrets
|
5 |
+
openai.api_key = "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"
|
6 |
|
7 |
# Create an OpenAI client using the new API structure
|
8 |
client = openai.OpenAI(api_key=openai.api_key)
|