shukdevdatta123 commited on
Commit
fd5e7a1
·
verified ·
1 Parent(s): 8ae65df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -48
app.py CHANGED
@@ -74,53 +74,6 @@ def classic_mbti_weighted(responses):
74
  def show_mbti_quiz():
75
  st.title('FlexTemp Personality Test')
76
 
77
- # Add custom CSS for the app styling
78
- st.markdown("""
79
- <style>
80
- body {
81
- background-image: url('https://www.w3schools.com/w3images/forestbridge.jpg');
82
- background-size: cover;
83
- font-family: 'Arial', sans-serif;
84
- color: #fff;
85
- }
86
- .stButton>button {
87
- background-color: #007bff;
88
- color: white;
89
- font-weight: bold;
90
- border-radius: 12px;
91
- padding: 10px 20px;
92
- cursor: pointer;
93
- }
94
- .stButton>button:hover {
95
- background-color: #0056b3;
96
- }
97
- .stRadio>div>label {
98
- font-size: 18px;
99
- }
100
- .stTextInput>div>label {
101
- font-size: 18px;
102
- }
103
- .stWarning {
104
- background-color: #f39c12;
105
- color: white;
106
- font-weight: bold;
107
- padding: 10px;
108
- }
109
- h1 {
110
- color: #fff;
111
- text-align: center;
112
- font-size: 50px;
113
- }
114
- .stSubheader {
115
- font-size: 22px;
116
- color: #ffcc00;
117
- }
118
- .stMarkdown {
119
- text-align: center;
120
- }
121
- </style>
122
- """, unsafe_allow_html=True)
123
-
124
  # Step 1: Input name
125
  participant_name = st.text_input("Enter your name")
126
 
@@ -173,4 +126,4 @@ def main():
173
  st.info("Please enter your OpenAI API Key to begin the quiz.")
174
 
175
  if __name__ == "__main__":
176
- main()
 
74
  def show_mbti_quiz():
75
  st.title('FlexTemp Personality Test')
76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  # Step 1: Input name
78
  participant_name = st.text_input("Enter your name")
79
 
 
126
  st.info("Please enter your OpenAI API Key to begin the quiz.")
127
 
128
  if __name__ == "__main__":
129
+ main()