Spaces:
Restarting
Restarting
Update app.py
Browse files
app.py
CHANGED
@@ -103,10 +103,10 @@ class GradioInterface:
|
|
103 |
self.prompt_refiner = prompt_refiner
|
104 |
custom_css = """
|
105 |
.container {
|
106 |
-
border: 2px solid #
|
107 |
border-radius: 10px;
|
108 |
-
padding: 12px;
|
109 |
-
margin:
|
110 |
background: white;
|
111 |
position: relative;
|
112 |
}
|
@@ -117,17 +117,31 @@ class GradioInterface:
|
|
117 |
left: 20px;
|
118 |
background: white;
|
119 |
padding: 0 10px;
|
120 |
-
color: #
|
121 |
font-weight: bold;
|
122 |
font-size: 1.2em;
|
123 |
}
|
124 |
|
125 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
border: none !important;
|
127 |
background: transparent !important;
|
128 |
box-shadow: none !important;
|
129 |
}
|
130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
.title-container::before { content: ''; }
|
132 |
.input-container::before { content: 'PROMPT REFINEMENT'; }
|
133 |
.analysis-container::before { content: 'ANALYSIS & REFINEMENT'; }
|
@@ -135,16 +149,11 @@ class GradioInterface:
|
|
135 |
.results-container::before { content: 'RESULTS'; }
|
136 |
.examples-container::before { content: 'EXAMPLES'; }
|
137 |
|
|
|
138 |
.radio-group {
|
139 |
display: flex;
|
140 |
gap: 8px;
|
141 |
-
margin:
|
142 |
-
}
|
143 |
-
|
144 |
-
/* Remove focus outlines */
|
145 |
-
*:focus {
|
146 |
-
outline: none !important;
|
147 |
-
box-shadow: none !important;
|
148 |
}
|
149 |
"""
|
150 |
|
|
|
103 |
self.prompt_refiner = prompt_refiner
|
104 |
custom_css = """
|
105 |
.container {
|
106 |
+
border: 2px solid #FF9800; /* Changed to orange */
|
107 |
border-radius: 10px;
|
108 |
+
padding: 12px;
|
109 |
+
margin: 8px;
|
110 |
background: white;
|
111 |
position: relative;
|
112 |
}
|
|
|
117 |
left: 20px;
|
118 |
background: white;
|
119 |
padding: 0 10px;
|
120 |
+
color: #FF9800; /* Changed to orange */
|
121 |
font-weight: bold;
|
122 |
font-size: 1.2em;
|
123 |
}
|
124 |
|
125 |
+
/* Remove all input borders and backgrounds */
|
126 |
+
.gradio-container input,
|
127 |
+
.gradio-container textarea,
|
128 |
+
.gradio-container select,
|
129 |
+
.gradio-container .gr-text-input,
|
130 |
+
.gradio-container .gr-input,
|
131 |
+
.gradio-container .gr-box,
|
132 |
+
.gradio-container .gr-textbox {
|
133 |
border: none !important;
|
134 |
background: transparent !important;
|
135 |
box-shadow: none !important;
|
136 |
}
|
137 |
|
138 |
+
/* Remove focus outlines */
|
139 |
+
*:focus {
|
140 |
+
outline: none !important;
|
141 |
+
box-shadow: none !important;
|
142 |
+
}
|
143 |
+
|
144 |
+
/* Container labels */
|
145 |
.title-container::before { content: ''; }
|
146 |
.input-container::before { content: 'PROMPT REFINEMENT'; }
|
147 |
.analysis-container::before { content: 'ANALYSIS & REFINEMENT'; }
|
|
|
149 |
.results-container::before { content: 'RESULTS'; }
|
150 |
.examples-container::before { content: 'EXAMPLES'; }
|
151 |
|
152 |
+
/* Radio group styling */
|
153 |
.radio-group {
|
154 |
display: flex;
|
155 |
gap: 8px;
|
156 |
+
margin: 8px 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
}
|
158 |
"""
|
159 |
|