Antigravity AI commited on
Commit ·
53046f8
1
Parent(s): 36faf8d
Fix logo path for HF Space
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ FALLBACK = "I am KAAL. I specialize in solving the future backward using calibra
|
|
| 13 |
GLOBAL_HISTORY = []
|
| 14 |
|
| 15 |
def get_logo_b64():
|
| 16 |
-
for p in ["kaal_logo.png", "
|
| 17 |
if os.path.exists(p) and os.path.getsize(p) > 0:
|
| 18 |
try:
|
| 19 |
with open(p, "rb") as f: return base64.b64encode(f.read()).decode()
|
|
|
|
| 13 |
GLOBAL_HISTORY = []
|
| 14 |
|
| 15 |
def get_logo_b64():
|
| 16 |
+
for p in ["/home/user/app/kaal_logo.png", "kaal_logo.png"]:
|
| 17 |
if os.path.exists(p) and os.path.getsize(p) > 0:
|
| 18 |
try:
|
| 19 |
with open(p, "rb") as f: return base64.b64encode(f.read()).decode()
|