Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
|
|
1 |
import streamlit as st
|
2 |
-
from streamlit_chat import message
|
3 |
-
import
|
4 |
-
import os
|
5 |
|
6 |
# Load API key securely
|
7 |
API_KEY = os.getenv("NV_API_KEY", "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")
|
|
|
1 |
+
import os # Make sure this is included
|
2 |
import streamlit as st
|
3 |
+
from streamlit_chat import message
|
4 |
+
from openai import OpenAI
|
|
|
5 |
|
6 |
# Load API key securely
|
7 |
API_KEY = os.getenv("NV_API_KEY", "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")
|