asthaaa300 commited on
Commit
c979f07
·
verified ·
1 Parent(s): 1cce802

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -21
app.py CHANGED
@@ -341,29 +341,23 @@ textarea {
341
  # Main application
342
  # Header with wave background and maritime icons
343
 
344
- with gr.Blocks(css=custom_css, theme=gr.themes.Base()) as demo:
345
- # Header with wave background and maritime icons
346
- gr.HTML(f"""
347
- <div class="wave-background">
348
- {WAVE_SVG}
349
- </div>
350
- <div class="header-container">
351
- <h1 class="header-title">Maritime Legal Compliance</h1>
352
- <div class="maritime-images">
353
- <div class="maritime-image-container">
354
- <img src="https://huggingface.co/spaces/asthaaa300/Maritime-Legal-Assistant/blob/main/images/busy.jpg" alt="Modern port with cargo vessels" class="maritime-image">
355
- </div>
356
- <div class="maritime-image-container">
357
- <img src="https://huggingface.co/spaces/asthaaa300/Maritime-Legal-Assistant/blob/main/images/cargo.jpg" alt="Container ship at sea" class="maritime-image">
358
- </div>
359
- <div class="maritime-image-container">
360
- <img src="https://huggingface.co/spaces/asthaaa300/Maritime-Legal-Assistant/blob/main/images/full.jpg" alt="Coastal waterway" class="maritime-image">
361
- </div>
362
  </div>
363
- <p class="header-subtitle">AI-powered assistance for Indian maritime law queries</p>
364
- <p class="header-subtitle">This chatbot uses Fine-tuned LLAMA-3.1 model personalised specifically to provide assistance with Indian maritime legal queries.</p>
365
  </div>
366
- """)
367
 
368
 
369
 
 
341
  # Main application
342
  # Header with wave background and maritime icons
343
 
344
+ BUSY_IMG = "https://huggingface.co/asthaaa300/Maritime-Legal-Assistant/resolve/main/images/busy.jpg"
345
+ CARGO_IMG = "https://huggingface.co/asthaaa300/Maritime-Legal-Assistant/resolve/main/images/cargo.jpg"
346
+ FULL_IMG = "https://huggingface.co/asthaaa300/Maritime-Legal-Assistant/resolve/main/images/full.jpg"
347
+
348
+ gr.HTML(f"""
349
+ <div class="maritime-images">
350
+ <div class="maritime-image-container">
351
+ <img src="{BUSY_IMG}" alt="Modern port with cargo vessels" class="maritime-image">
352
+ </div>
353
+ <div class="maritime-image-container">
354
+ <img src="{CARGO_IMG}" alt="Container ship at sea" class="maritime-image">
355
+ </div>
356
+ <div class="maritime-image-container">
357
+ <img src="{FULL_IMG}" alt="Coastal waterway" class="maritime-image">
 
 
 
 
358
  </div>
 
 
359
  </div>
360
+ """)
361
 
362
 
363