sohojoe commited on
Commit
76f0068
1 Parent(s): 1111fae

fix formatting issue on mac

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -225,6 +225,7 @@ clip_retrieval_client = ClipClient(
225
  indice_name=clip_model_id,
226
  use_safety_model = False,
227
  use_violence_detector = False,
 
228
  )
229
  # results = clip_retrieval_client.query(text="an image of a cat")
230
  # results[0]
@@ -321,11 +322,11 @@ Try uploading a few images and/or add some text prompts and search the embedding
321
  with gr.Column(scale=2, min_width=(tile_size+20)*3):
322
  with gr.Row():
323
  with gr.Column(scale=1, min_width=tile_size):
324
- gr.Markdown("## Pup in cup:")
325
  with gr.Column(scale=1, min_width=tile_size):
326
- gr.Markdown("## - 'Teacup'")
327
  with gr.Column(scale=1, min_width=tile_size):
328
- gr.Markdown("## = Pup")
329
  for example in examples:
330
  with gr.Row():
331
  for example in example:
 
225
  indice_name=clip_model_id,
226
  use_safety_model = False,
227
  use_violence_detector = False,
228
+ # modality = Modality.TEXT,
229
  )
230
  # results = clip_retrieval_client.query(text="an image of a cat")
231
  # results[0]
 
322
  with gr.Column(scale=2, min_width=(tile_size+20)*3):
323
  with gr.Row():
324
  with gr.Column(scale=1, min_width=tile_size):
325
+ gr.Markdown("### Pup in cup:")
326
  with gr.Column(scale=1, min_width=tile_size):
327
+ gr.Markdown("### - 'Teacup'")
328
  with gr.Column(scale=1, min_width=tile_size):
329
+ gr.Markdown("### = Pup")
330
  for example in examples:
331
  with gr.Row():
332
  for example in example: