Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
|