Nymbo commited on
Commit
9739858
·
verified ·
1 Parent(s): 121b2ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -122,7 +122,7 @@ def main(args):
122
  )
123
 
124
  def make_frontend(
125
- fn: Callable[[Image], str], flagging: bool = False, gantry: bool = False, app_name: str = "fashion-aggregator"
126
  ):
127
  """Creates a gradio.Interface frontend for text to image search function."""
128
 
@@ -135,7 +135,7 @@ def make_frontend(
135
  outputs=gr.Gallery(label="Relevant Items"),
136
  # what input widgets does it need? we configure an image widget
137
  inputs=gr.components.Textbox(label="Item Description"),
138
- title="📝 Text2Image 👕", # what should we display at the top of the page?
139
  thumbnail=FAVICON, # what should we display when the link is shared, e.g. on social media?
140
  description=__doc__, # what should we display just above the interface?
141
  cache_examples=False, # should we cache those inputs for faster inference? slows down start
 
122
  )
123
 
124
  def make_frontend(
125
+ fn: Callable[[Image], str], flagging: bool = False, gantry: bool = False, app_name: str = "fashion-aggregator", theme = "Nymbo/Alyx_Theme"
126
  ):
127
  """Creates a gradio.Interface frontend for text to image search function."""
128
 
 
135
  outputs=gr.Gallery(label="Relevant Items"),
136
  # what input widgets does it need? we configure an image widget
137
  inputs=gr.components.Textbox(label="Item Description"),
138
+ title="Fashion Aggregator", # what should we display at the top of the page?
139
  thumbnail=FAVICON, # what should we display when the link is shared, e.g. on social media?
140
  description=__doc__, # what should we display just above the interface?
141
  cache_examples=False, # should we cache those inputs for faster inference? slows down start