Spaces:
Runtime error
Runtime error
jamescalam
commited on
Commit
•
9ef9771
1
Parent(s):
4ef1618
Update app.py
Browse files
app.py
CHANGED
@@ -6,10 +6,7 @@ import logging
|
|
6 |
PINECONE_KEY = st.secrets["PINECONE_KEY"] # app.pinecone.io
|
7 |
INDEX_ID = 'ask-youtube'
|
8 |
|
9 |
-
|
10 |
-
st.markdown('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">', unsafe_allow_html=True)
|
11 |
-
with open(file_name) as f:
|
12 |
-
st.markdown(f'<style>{f.read()}</style>', unsafe_allow_html=True)
|
13 |
|
14 |
@st.experimental_singleton
|
15 |
def init_pinecone():
|
|
|
6 |
PINECONE_KEY = st.secrets["PINECONE_KEY"] # app.pinecone.io
|
7 |
INDEX_ID = 'ask-youtube'
|
8 |
|
9 |
+
st.markdown("<link rel='stylesheet' type='text/css' href='https://huggingface.co/spaces/jamescalam/ask-youtube/raw/main/styles.css'>", unsafe_allow_html=True)
|
|
|
|
|
|
|
10 |
|
11 |
@st.experimental_singleton
|
12 |
def init_pinecone():
|