asthaaa300
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -340,29 +340,29 @@ textarea {
|
|
340 |
# Main application
|
341 |
# Header with wave background and maritime icons
|
342 |
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
</div>
|
361 |
</div>
|
362 |
-
<p class="header-subtitle">AI-powered assistance for Indian maritime law queries</p>
|
363 |
-
<p class="header-subtitle">This chatbot uses Fine-tuned LLAMA-3.1 model personalised specifically to provide assistance with Indian maritime legal queries.</p>
|
364 |
</div>
|
365 |
-
""
|
|
|
|
|
|
|
366 |
|
367 |
|
368 |
|
|
|
340 |
# Main application
|
341 |
# Header with wave background and maritime icons
|
342 |
|
343 |
+
with gr.Blocks(css=custom_css, theme=gr.themes.Base()) as demo:
|
344 |
+
# Header with wave background and maritime icons
|
345 |
+
gr.HTML(f"""
|
346 |
+
<div class="wave-background">
|
347 |
+
{WAVE_SVG}
|
348 |
+
</div>
|
349 |
+
<div class="header-container">
|
350 |
+
<h1 class="header-title">Maritime Legal Compliance</h1>
|
351 |
+
<div class="maritime-images">
|
352 |
+
<div class="maritime-image-container">
|
353 |
+
<img src="images/busy.jpg" alt="Modern port with cargo vessels" class="maritime-image" onerror="this.src='/api/placeholder/800/450'">
|
354 |
+
</div>
|
355 |
+
<div class="maritime-image-container">
|
356 |
+
<img src="images/cargo.jpg" alt="Container ship at sea" class="maritime-image" onerror="this.src='/api/placeholder/800/450'">
|
357 |
+
</div>
|
358 |
+
<div class="maritime-image-container">
|
359 |
+
<img src="images/full.jpg" alt="Coastal waterway" class="maritime-image" onerror="this.src='/api/placeholder/800/450'">
|
|
|
360 |
</div>
|
|
|
|
|
361 |
</div>
|
362 |
+
<p class="header-subtitle">AI-powered assistance for Indian maritime law queries</p>
|
363 |
+
<p class="header-subtitle">This chatbot uses Fine-tuned LLAMA-3.1 model personalised specifically to provide assistance with Indian maritime legal queries.</p>
|
364 |
+
</div>
|
365 |
+
""")
|
366 |
|
367 |
|
368 |
|