Jesivn commited on
Commit
3bc8940
·
verified ·
1 Parent(s): 1893cbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +71 -71
app.py CHANGED
@@ -63,77 +63,77 @@ def english_text_to_image(text):
63
  return image
64
 
65
  # Custom CSS
66
- st.markdown("""
67
- <style>
68
- /* Background color */
69
- body {
70
- background-color: #f0f0f5;
71
- }
72
-
73
- /* Text color and font */
74
- .stApp {
75
- font-family: 'Arial', sans-serif;
76
- color: #333;
77
- }
78
-
79
- /* Titles and subtitles styling */
80
- h1 {
81
- color: #2E8B57;
82
- text-align: center;
83
- text-shadow: 2px 2px 5px #aaaaaa;
84
- }
85
-
86
- h2, h3 {
87
- color: #4682B4;
88
- text-shadow: 1px 1px 3px #aaaaaa;
89
- }
90
-
91
- /* Background texture */
92
- .stApp {
93
- background: linear-gradient(to bottom right, #fff7e6, #e6f7ff);
94
- }
95
-
96
- /* Button styling */
97
- button[kind="primary"] {
98
- background-color: #4682B4;
99
- color: white;
100
- border-radius: 8px;
101
- padding: 0.5rem 1rem;
102
- }
103
-
104
- button[kind="primary"]:hover {
105
- background-color: #5b9bd5;
106
- }
107
-
108
- /* Text area and input field styling */
109
- textarea, input {
110
- border-radius: 10px;
111
- padding: 1rem;
112
- border: 2px solid #ccc;
113
- background-color: #f9f9f9;
114
- }
115
-
116
- /* Styling the output boxes */
117
- .stMarkdown {
118
- background-color: #e6f9ff;
119
- padding: 1rem;
120
- border-radius: 10px;
121
- box-shadow: 2px 2px 10px #ccc;
122
- }
123
- </style>
124
- """, unsafe_allow_html=True)
125
-
126
-
127
- #sidebar styling
128
- st.markdown("""
129
- <style>
130
- [data-testid=stSidebar] {
131
- background-color: #FFFFFF;
132
- margin-right: 20px;
133
- border-right: 2px solid #FFFFFF
134
- }
135
- </style>
136
- """, unsafe_allow_html=True)
137
 
138
  #options styling in sidebar and added image in sidebar
139
  with st.sidebar:
 
63
  return image
64
 
65
  # Custom CSS
66
+ # st.markdown("""
67
+ # <style>
68
+ # /* Background color */
69
+ # body {
70
+ # background-color: #f0f0f5;
71
+ # }
72
+
73
+ # /* Text color and font */
74
+ # .stApp {
75
+ # font-family: 'Arial', sans-serif;
76
+ # color: #333;
77
+ # }
78
+
79
+ # /* Titles and subtitles styling */
80
+ # h1 {
81
+ # color: #2E8B57;
82
+ # text-align: center;
83
+ # text-shadow: 2px 2px 5px #aaaaaa;
84
+ # }
85
+
86
+ # h2, h3 {
87
+ # color: #4682B4;
88
+ # text-shadow: 1px 1px 3px #aaaaaa;
89
+ # }
90
+
91
+ # /* Background texture */
92
+ # .stApp {
93
+ # background: linear-gradient(to bottom right, #fff7e6, #e6f7ff);
94
+ # }
95
+
96
+ # /* Button styling */
97
+ # button[kind="primary"] {
98
+ # background-color: #4682B4;
99
+ # color: white;
100
+ # border-radius: 8px;
101
+ # padding: 0.5rem 1rem;
102
+ # }
103
+
104
+ # button[kind="primary"]:hover {
105
+ # background-color: #5b9bd5;
106
+ # }
107
+
108
+ # /* Text area and input field styling */
109
+ # textarea, input {
110
+ # border-radius: 10px;
111
+ # padding: 1rem;
112
+ # border: 2px solid #ccc;
113
+ # background-color: #f9f9f9;
114
+ # }
115
+
116
+ # /* Styling the output boxes */
117
+ # .stMarkdown {
118
+ # background-color: #e6f9ff;
119
+ # padding: 1rem;
120
+ # border-radius: 10px;
121
+ # box-shadow: 2px 2px 10px #ccc;
122
+ # }
123
+ # </style>
124
+ # """, unsafe_allow_html=True)
125
+
126
+
127
+ # #sidebar styling
128
+ # st.markdown("""
129
+ # <style>
130
+ # [data-testid=stSidebar] {
131
+ # background-color: #FFFFFF;
132
+ # margin-right: 20px;
133
+ # border-right: 2px solid #FFFFFF
134
+ # }
135
+ # </style>
136
+ # """, unsafe_allow_html=True)
137
 
138
  #options styling in sidebar and added image in sidebar
139
  with st.sidebar: