RSHVR commited on
Commit
c535087
·
verified ·
1 Parent(s): 9fff519

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -1
app.py CHANGED
@@ -352,7 +352,22 @@ def get_product_data_from_url(url):
352
  def create_interface():
353
  """Create and configure the Gradio interface"""
354
  with gr.Blocks(title="Artificer") as demo:
355
- gr.Markdown("## Artificer v1: IKEA Scraper")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
356
  gr.Markdown("Enter an IKEA product URL to scrape images, and measurements information.")
357
  gr.Markdown("note: materials information scraping will be implemented in a future version.")
358
 
 
352
  def create_interface():
353
  """Create and configure the Gradio interface"""
354
  with gr.Blocks(title="Artificer") as demo:
355
+
356
+ # Custom HTML header with proper class for styling
357
+ gr.HTML(
358
+ """
359
+ <div class="header-container">
360
+ <div>
361
+ <img src="https://cdn-uploads.huggingface.co/production/uploads/6495a514a4428a51351c114f/yZ7w_MsrCmewoHNyQpBs-.png" alt="ikea_logo">
362
+ </div>
363
+ <div>
364
+ <h1>Artificer v1: IKEA Scraper</h1>
365
+ <p>Powered by <a href="https://gradio.app/">Gradio</a>⚡️|
366
+ <a href="https://huggingface.co/spaces/Ikea-Extraction?duplicate=true">Duplicate</a> this Repo |
367
+ </div>
368
+ </div>
369
+ """
370
+ )
371
  gr.Markdown("Enter an IKEA product URL to scrape images, and measurements information.")
372
  gr.Markdown("note: materials information scraping will be implemented in a future version.")
373