Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -528,7 +528,7 @@ vanta_html = """
|
|
| 528 |
<div id="vanta-bg" style="width:100%;height:380px;border-radius:12px;position:relative;">
|
| 529 |
<div class="login-card" role="region" aria-label="Login card">
|
| 530 |
<div class="login-logo">
|
| 531 |
-
<img src="
|
| 532 |
<div>
|
| 533 |
<div class="brand-title">DataSynth — Analytics Hub</div>
|
| 534 |
<div style="font-size:12px;color:#666;">Fast, modular data profiling & model building</div>
|
|
@@ -561,7 +561,10 @@ vanta_html = """
|
|
| 561 |
}
|
| 562 |
})();
|
| 563 |
</script>
|
| 564 |
-
"""
|
|
|
|
|
|
|
|
|
|
| 565 |
|
| 566 |
# Gradio app layout
|
| 567 |
with gr.Blocks(css=css, title="DataSynth — Analytics Hub") as demo:
|
|
|
|
| 528 |
<div id="vanta-bg" style="width:100%;height:380px;border-radius:12px;position:relative;">
|
| 529 |
<div class="login-card" role="region" aria-label="Login card">
|
| 530 |
<div class="login-logo">
|
| 531 |
+
<img src="{LOGO}" alt="logo" style="height:48px;width:48px;border-radius:8px;"/>
|
| 532 |
<div>
|
| 533 |
<div class="brand-title">DataSynth — Analytics Hub</div>
|
| 534 |
<div style="font-size:12px;color:#666;">Fast, modular data profiling & model building</div>
|
|
|
|
| 561 |
}
|
| 562 |
})();
|
| 563 |
</script>
|
| 564 |
+
"""
|
| 565 |
+
|
| 566 |
+
# inject logo path safely (avoids % formatting issues)
|
| 567 |
+
vanta_html = vanta_html.replace("{LOGO}", LOGO_PATH)
|
| 568 |
|
| 569 |
# Gradio app layout
|
| 570 |
with gr.Blocks(css=css, title="DataSynth — Analytics Hub") as demo:
|