epochs-demos commited on
Commit
9d57bff
·
1 Parent(s): 8276877

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -9
app.py CHANGED
@@ -127,13 +127,13 @@ def main(args):
127
 
128
  # output_section = gr.Gallery(label="Relevant Items", show_labels=True, label_position="below").style(columns=4, container=True))
129
  # title = """<h1 align="center">Fashion Aggregator</h1><img src="temp.jpg" alt="Logo" width="150" align="center"/>"""
130
- # description = """
131
- # <div align="center">
132
- # <h3>
133
- # Discover your perfect apparel effortlessly. Simply describe what you're looking for!
134
- # </h3>
135
- # </div>
136
- # """
137
 
138
  # disclaimer = disclaimer = """
139
  # <div align="center">
@@ -171,7 +171,13 @@ def make_frontend(
171
  """Creates a gradio.Interface frontend for text to image search function."""
172
 
173
  allow_flagging = "never"
174
-
 
 
 
 
 
 
175
  # Build a customized browser interface to a Python function
176
  disclaimer = """
177
  <div style="display: flex; align-items: center; justify-content: center;">
@@ -188,7 +194,7 @@ def make_frontend(
188
  inputs=gr.inputs.Textbox(label="Item Description", placeholder="Enter item description here"),
189
  title="Fashion Aggregator",
190
  thumbnail=LOGO,
191
- description="Discover your perfect apparel effortlessly. Simply describe what you're looking for!",
192
  article = "Disclaimer: The search results are based on embeddings and may not be always accurate.",
193
  cache_examples=False,
194
  allow_flagging=allow_flagging,
 
127
 
128
  # output_section = gr.Gallery(label="Relevant Items", show_labels=True, label_position="below").style(columns=4, container=True))
129
  # title = """<h1 align="center">Fashion Aggregator</h1><img src="temp.jpg" alt="Logo" width="150" align="center"/>"""
130
+ # description = """
131
+ # <div align="center">
132
+ # <h3>
133
+ # Discover your perfect apparel effortlessly. Simply describe what you're looking for!
134
+ # </h3>
135
+ # </div>
136
+ # """
137
 
138
  # disclaimer = disclaimer = """
139
  # <div align="center">
 
171
  """Creates a gradio.Interface frontend for text to image search function."""
172
 
173
  allow_flagging = "never"
174
+ description = """
175
+ <div align="center">
176
+ <h3>
177
+ Discover your perfect apparel effortlessly. Simply describe what you're looking for!
178
+ </h3>
179
+ </div>
180
+ """
181
  # Build a customized browser interface to a Python function
182
  disclaimer = """
183
  <div style="display: flex; align-items: center; justify-content: center;">
 
194
  inputs=gr.inputs.Textbox(label="Item Description", placeholder="Enter item description here"),
195
  title="Fashion Aggregator",
196
  thumbnail=LOGO,
197
+ description=gr.HTML(description),
198
  article = "Disclaimer: The search results are based on embeddings and may not be always accurate.",
199
  cache_examples=False,
200
  allow_flagging=allow_flagging,