Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -78,11 +78,12 @@ def main():
|
|
78 |
st.header("Settings")
|
79 |
website_url = st.text_input("Website URL")
|
80 |
nomic_apikey = st.text_input("NOMIC API Key for Embeddings")
|
|
|
|
|
81 |
if nomic_apikey is None or nomic_apikey == "":
|
82 |
pass
|
83 |
else:
|
84 |
# Set the environment variable
|
85 |
-
st.write(nomic_apikey)
|
86 |
os.environ['NOMIC_API_KEY'] = nomic_apikey
|
87 |
|
88 |
if website_url is None or website_url == "":
|
|
|
78 |
st.header("Settings")
|
79 |
website_url = st.text_input("Website URL")
|
80 |
nomic_apikey = st.text_input("NOMIC API Key for Embeddings")
|
81 |
+
|
82 |
+
st.write(nomic_apikey)
|
83 |
if nomic_apikey is None or nomic_apikey == "":
|
84 |
pass
|
85 |
else:
|
86 |
# Set the environment variable
|
|
|
87 |
os.environ['NOMIC_API_KEY'] = nomic_apikey
|
88 |
|
89 |
if website_url is None or website_url == "":
|