Update app.py
Browse files
app.py
CHANGED
|
@@ -74,7 +74,17 @@ def classify_and_track(images, budget):
|
|
| 74 |
receipt_text = "\n".join(receipt_lines)
|
| 75 |
return results, receipt_text
|
| 76 |
|
| 77 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
with gr.Blocks(theme=custom_theme) as iface:
|
| 79 |
gr.Markdown(
|
| 80 |
"""
|
|
|
|
| 74 |
receipt_text = "\n".join(receipt_lines)
|
| 75 |
return results, receipt_text
|
| 76 |
|
| 77 |
+
# Custom Theme
|
| 78 |
+
custom_theme = gr.themes.Base(
|
| 79 |
+
primary_hue="rose",
|
| 80 |
+
secondary_hue="amber",
|
| 81 |
+
neutral_hue="stone",
|
| 82 |
+
font=[gr.themes.GoogleFont("Helvetica")]
|
| 83 |
+
).set(
|
| 84 |
+
body_background_fill="#ffe5e5"
|
| 85 |
+
)
|
| 86 |
+
|
| 87 |
+
# Gradio Interface
|
| 88 |
with gr.Blocks(theme=custom_theme) as iface:
|
| 89 |
gr.Markdown(
|
| 90 |
"""
|