Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,20 @@ client = OpenAI(
|
|
23 |
api_key=os.environ.get('HUGGINGFACEHUB_API_TOKEN')#"hf_xxx" # Replace with your token
|
24 |
)
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
|
|
|
|
27 |
|
28 |
|
29 |
#Create supported models
|
@@ -207,7 +220,6 @@ if prompt := st.chat_input(f"Hi I'm {selected_model}, ask me a question"):
|
|
207 |
st.write(e)
|
208 |
|
209 |
|
210 |
-
|
211 |
-
|
212 |
|
213 |
st.session_state.messages.append({"role": "assistant", "content": response})
|
|
|
23 |
api_key=os.environ.get('HUGGINGFACEHUB_API_TOKEN')#"hf_xxx" # Replace with your token
|
24 |
)
|
25 |
|
26 |
+
dark_theme_css = """
|
27 |
+
<style>
|
28 |
+
body {
|
29 |
+
background-color: #1E1E1E;
|
30 |
+
color: #FFFFFF;
|
31 |
+
}
|
32 |
+
header, footer, .stButton button {
|
33 |
+
background-color: #262626 !important;
|
34 |
+
}
|
35 |
+
</style>
|
36 |
+
"""
|
37 |
|
38 |
+
st.markdown(dark_theme_css, unsafe_allow_html=True)
|
39 |
+
st.title("Dark Theme Applied Manually")
|
40 |
|
41 |
|
42 |
#Create supported models
|
|
|
220 |
st.write(e)
|
221 |
|
222 |
|
223 |
+
|
|
|
224 |
|
225 |
st.session_state.messages.append({"role": "assistant", "content": response})
|