epochs-demos commited on
Commit
44459a0
·
1 Parent(s): 30c2986

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -129,24 +129,24 @@ def make_frontend(fn: Callable[[Image], str], flagging: bool = False, gantry: bo
129
  output_section = gr.Gallery(label="Relevant Items", show_labels=True, label_position="below")
130
 
131
  # Define Interface layout with Gradio's Row and Column
132
- interface_layout = gradio.ui.Row(
133
- gradio.ui.Column(
134
- gradio.ui.Textbox("Fashion Aggregator", label="Title"),
135
- gradio.ui.Image(LOGO, label="Logo"),
136
- gradio.ui.Textbox("Discover your perfect apparel effortlessly. Simply describe what you're looking for!", label="Description"),
137
  ),
138
- gradio.ui.Column(
139
- gradio.ui.Section(
140
- gradio.ui.Center(
141
  input_section,
142
  ),
143
- gradio.ui.Center(
144
  output_section,
145
  ),
146
  )
147
  ),
148
- gradio.ui.Column(
149
- gradio.ui.Textbox("Disclaimer: The search results are based on embeddings and may not be always accurate.", label="Disclaimer"),
150
  ),
151
  )
152
 
 
129
  output_section = gr.Gallery(label="Relevant Items", show_labels=True, label_position="below")
130
 
131
  # Define Interface layout with Gradio's Row and Column
132
+ interface_layout = gr.ui.Row(
133
+ gr.ui.Column(
134
+ gr.ui.Textbox("Fashion Aggregator", label="Title"),
135
+ gr.ui.Image(LOGO, label="Logo"),
136
+ gr.ui.Textbox("Discover your perfect apparel effortlessly. Simply describe what you're looking for!", label="Description"),
137
  ),
138
+ gr.ui.Column(
139
+ gr.ui.Section(
140
+ gr.ui.Center(
141
  input_section,
142
  ),
143
+ gr.ui.Center(
144
  output_section,
145
  ),
146
  )
147
  ),
148
+ gr.ui.Column(
149
+ gr.ui.Textbox("Disclaimer: The search results are based on embeddings and may not be always accurate.", label="Disclaimer"),
150
  ),
151
  )
152