Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -183,46 +183,13 @@ def generate_elt_plan(api_key, file, progress=gr.Progress()):
|
|
183 |
return f"An error occurred: {str(e)}", None
|
184 |
|
185 |
# Set up Gradio Blocks
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
c50="#EEFAFF",
|
190 |
-
c100="#CCF0FF",
|
191 |
-
c200="#9CE5FF",
|
192 |
-
c300="#66D9FF",
|
193 |
-
c400="#33CCFF",
|
194 |
-
c500="#00BFFF", # Primary blue matching the robot
|
195 |
-
c600="#0099CC",
|
196 |
-
c700="#007399",
|
197 |
-
c800="#004C66",
|
198 |
-
c900="#002633",
|
199 |
-
),
|
200 |
-
secondary_hue=gr.themes.Color(
|
201 |
-
c50="#FFF5E6",
|
202 |
-
c100="#FFE6BF",
|
203 |
-
c200="#FFD699",
|
204 |
-
c300="#FFC266",
|
205 |
-
c400="#FFAD33",
|
206 |
-
c500="#FF9900", # Warm accent color
|
207 |
-
c600="#CC7A00",
|
208 |
-
c700="#995C00",
|
209 |
-
c800="#663D00",
|
210 |
-
c900="#331F00",
|
211 |
-
),
|
212 |
neutral_hue="slate",
|
213 |
-
font=["
|
214 |
-
|
215 |
-
|
216 |
-
background_fill_primary="#FFFFFF",
|
217 |
-
block_background_fill="*neutral_50",
|
218 |
-
block_border_width="2px",
|
219 |
-
block_border_color="*primary_100",
|
220 |
-
block_radius="12px",
|
221 |
-
block_shadow="0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
222 |
-
)
|
223 |
-
|
224 |
-
with gr.Blocks(theme=custom_theme) as demo:
|
225 |
-
gr.Markdown("# π Reverse Planner Assistant")
|
226 |
|
227 |
with gr.Row():
|
228 |
with gr.Column():
|
|
|
183 |
return f"An error occurred: {str(e)}", None
|
184 |
|
185 |
# Set up Gradio Blocks
|
186 |
+
with gr.Blocks(theme=gr.themes.Base(
|
187 |
+
primary_hue="amber", # For the brass/copper tone
|
188 |
+
secondary_hue="blue",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
neutral_hue="slate",
|
190 |
+
font=["Source Code Pro", "monospace"]
|
191 |
+
)) as demo:
|
192 |
+
gr.Markdown("# π Reverse Unit Planner")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
|
194 |
with gr.Row():
|
195 |
with gr.Column():
|