Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -207,10 +207,14 @@ with gr.Blocks() as get_notifications_page:
|
|
| 207 |
outputs=[title, notification],
|
| 208 |
)
|
| 209 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 210 |
with gr.Blocks() as demo:
|
| 211 |
NavBar()
|
| 212 |
gr.Image(
|
| 213 |
-
value=
|
| 214 |
show_label=False,
|
| 215 |
elem_classes="full-img",
|
| 216 |
)
|
|
|
|
| 207 |
outputs=[title, notification],
|
| 208 |
)
|
| 209 |
|
| 210 |
+
|
| 211 |
+
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
| 212 |
+
background_path = os.path.join(BASE_DIR, "background.png")
|
| 213 |
+
|
| 214 |
with gr.Blocks() as demo:
|
| 215 |
NavBar()
|
| 216 |
gr.Image(
|
| 217 |
+
value=background_path,
|
| 218 |
show_label=False,
|
| 219 |
elem_classes="full-img",
|
| 220 |
)
|