Spaces:
Runtime error
Runtime error
Commit
·
e37247a
1
Parent(s):
5498043
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ logging.basicConfig(level=logging.INFO)
|
|
29 |
DEFAULT_APPLICATION_NAME = "fashion-aggregator"
|
30 |
|
31 |
APP_DIR = Path(__file__).resolve().parent # what is the directory for this application?
|
32 |
-
LOGO = APP_DIR / "
|
33 |
README = APP_DIR / "README.md" # path to an app readme file in HTML/markdown
|
34 |
|
35 |
DEFAULT_PORT = 11700
|
@@ -132,7 +132,7 @@ def make_frontend(
|
|
132 |
frontend = gr.Interface(
|
133 |
fn=fn,
|
134 |
inputs=gr.inputs.Textbox(label="Item Description", placeholder="Enter item description here"),
|
135 |
-
outputs=gr.
|
136 |
title="<span class='title-text'>Fashion Aggregator</span><img src='{logo}' class='logo-image'>".format(logo=LOGO),
|
137 |
thumbnail=FAVICON,
|
138 |
description="Discover your perfect apparel effortlessly. Simply describe what you're looking for!",
|
|
|
29 |
DEFAULT_APPLICATION_NAME = "fashion-aggregator"
|
30 |
|
31 |
APP_DIR = Path(__file__).resolve().parent # what is the directory for this application?
|
32 |
+
LOGO = APP_DIR / "temp.jpg" # path to a small image for display in browser tab and social media
|
33 |
README = APP_DIR / "README.md" # path to an app readme file in HTML/markdown
|
34 |
|
35 |
DEFAULT_PORT = 11700
|
|
|
132 |
frontend = gr.Interface(
|
133 |
fn=fn,
|
134 |
inputs=gr.inputs.Textbox(label="Item Description", placeholder="Enter item description here"),
|
135 |
+
outputs=gr.Gallery(label="Relevant Items", show_labels=True, label_position="below"),
|
136 |
title="<span class='title-text'>Fashion Aggregator</span><img src='{logo}' class='logo-image'>".format(logo=LOGO),
|
137 |
thumbnail=FAVICON,
|
138 |
description="Discover your perfect apparel effortlessly. Simply describe what you're looking for!",
|