Spaces:
Build error
Build error
Commit
·
8f5bff6
1
Parent(s):
9716b4f
Update app.py
Browse files
app.py
CHANGED
|
@@ -149,7 +149,7 @@ def read_file_content(file,max_length):
|
|
| 149 |
def main():
|
| 150 |
|
| 151 |
st.title('Chat Toolkit')
|
| 152 |
-
api_key = st.text_input("Enter OpenAI API Key:", type='password')
|
| 153 |
if api_key:
|
| 154 |
openai.api_key = api_key
|
| 155 |
|
|
|
|
| 149 |
def main():
|
| 150 |
|
| 151 |
st.title('Chat Toolkit')
|
| 152 |
+
api_key = st.sidebar.text_input("Enter OpenAI API Key:", type='password')
|
| 153 |
if api_key:
|
| 154 |
openai.api_key = api_key
|
| 155 |
|