Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,8 +12,11 @@ DATASET_ID = "motimmom/cocktails_clean_nobrand"
|
|
| 12 |
EMBED_MODEL = "sentence-transformers/all-MiniLM-L6-v2"
|
| 13 |
FLAVOR_BOOST = 0.20
|
| 14 |
|
| 15 |
-
#
|
| 16 |
-
BACKGROUND_IMAGE_URL = "
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
# If dataset is private, add Space secret HF_TOKEN (read scope)
|
| 19 |
HF_READ_TOKEN = os.getenv("HF_TOKEN") or os.getenv("HUGGING_FACE_HUB_TOKEN")
|
|
@@ -251,7 +254,7 @@ body::before {{
|
|
| 251 |
content: "";
|
| 252 |
position: fixed;
|
| 253 |
inset: 0;
|
| 254 |
-
background: rgba(0,0,0,0.
|
| 255 |
z-index: 0;
|
| 256 |
}}
|
| 257 |
/* Make the app transparent and float above overlay */
|
|
|
|
| 12 |
EMBED_MODEL = "sentence-transformers/all-MiniLM-L6-v2"
|
| 13 |
FLAVOR_BOOST = 0.20
|
| 14 |
|
| 15 |
+
# Use the image you uploaded at the root of the Space repo:
|
| 16 |
+
BACKGROUND_IMAGE_URL = "file=bar.jpg" # <-- safest: served by Gradio from your Space files
|
| 17 |
+
|
| 18 |
+
# If you prefer the remote URL, make sure the space name uses the HY-PHEN:
|
| 19 |
+
# BACKGROUND_IMAGE_URL = "https://huggingface.co/spaces/OGOGOG/AI-Bartender/resolve/main/bar.jpg"
|
| 20 |
|
| 21 |
# If dataset is private, add Space secret HF_TOKEN (read scope)
|
| 22 |
HF_READ_TOKEN = os.getenv("HF_TOKEN") or os.getenv("HUGGING_FACE_HUB_TOKEN")
|
|
|
|
| 254 |
content: "";
|
| 255 |
position: fixed;
|
| 256 |
inset: 0;
|
| 257 |
+
background: rgba(0,0,0,0.30); /* slightly lighter so image shows */
|
| 258 |
z-index: 0;
|
| 259 |
}}
|
| 260 |
/* Make the app transparent and float above overlay */
|