sschet commited on
Commit
58a78b9
1 Parent(s): db7a151

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -21
app.py CHANGED
@@ -5,32 +5,13 @@ import streamlit as st
5
  openai.api_key = st.secrets['OpenAI_API_Key']
6
 
7
  def main():
8
- # Inject custom CSS
9
- st.markdown("""
10
- <style>
11
- .reportview-container {
12
- background: #f4f4f4; # Change the background color
13
- }
14
- .sidebar .sidebar-content {
15
- background: #ffffff; # Change the sidebar background color
16
- }
17
- h1 {
18
- color: #ff6347; # Change the color of the title
19
- }
20
- </style>
21
- """, unsafe_allow_html=True)
22
-
23
  # Use markdown for the title with a custom color
24
- st.sidebar.markdown("<h1 style='color: #ff6347;'>Chat w/MidikanGPT-4</h1>", unsafe_allow_html=True)
25
-
26
- # Creating a sidebar for user inputs
27
- #st.sidebar.title("Chat w/MidikanGPT-4")
28
 
29
  # Creating a text input field for user question context
30
- context = st.sidebar.text_input("Context, if any:")
31
 
32
  # Creating a text input field for user questions
33
- #question = st.sidebar.text_input("Type your question/command:")
34
  question = st.sidebar.text_area("Question/command:")
35
 
36
 
 
5
  openai.api_key = st.secrets['OpenAI_API_Key']
6
 
7
  def main():
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  # Use markdown for the title with a custom color
9
+ st.sidebar.markdown("<h1 style='color: #fffffe;'>Chat w/MidikanGPT-4</h1>", unsafe_allow_html=True)
 
 
 
10
 
11
  # Creating a text input field for user question context
12
+ context = st.sidebar.text_area("Context (if any):")
13
 
14
  # Creating a text input field for user questions
 
15
  question = st.sidebar.text_area("Question/command:")
16
 
17