cakiki commited on
Commit
6e21608
1 Parent(s): 1f226a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -126,9 +126,11 @@ with gr.Blocks() as demo:
126
  with gr.Row():
127
  gr.HTML('''
128
  <h4>Bag of Visual Words</h4>
129
- <p style="margin-bottom: 14px; font-size: 100%"> Another way of providing the means for a structured traversal of the dataset is a nearest-neighbor explorer based on visual features provided by an image's SIFT features, which we quantize into a visual vocabulary to represent the entire image dataset as a TF-IDF matrix. These tools are especially useful in honing in on stereotypical content that is often encoded visually, but also failure modes of the model such as the misinterpetation of the "stocker" profession as an imagined dog-breed. The screenshot to the right shows how SIFT visual patterns tend to cluster together, namely in this instance the bookshelf in the background. </p>
130
  ''')
131
- gr.Image("images/bovw/bookshelves.png")
 
 
132
  gr.Markdown("""
133
  ### All of the tools created as part of this project:
134
  """)
 
126
  with gr.Row():
127
  gr.HTML('''
128
  <h4>Bag of Visual Words</h4>
129
+ <p style="margin-bottom: 14px; font-size: 100%"> Another way of providing the means for a structured traversal of the dataset is a nearest-neighbor explorer based on visual features provided by an image's SIFT features, which we quantize into a visual vocabulary to represent the entire image dataset as a TF-IDF matrix. These tools are especially useful in honing in on stereotypical content that is often encoded visually, but also failure modes of the model such as the misinterpetation of the "stocker" profession as an imagined dog-breed. The screenshot to the right shows how SIFT visual patterns tend to cluster together, namely in this instance the booksheves in the background, or the gibberish pseudo-English text that often plagues TTI systems. </p>
130
  ''')
131
+ with gr.Column():
132
+ gr.Image("images/bovw/bookshelves.png")
133
+ gr.Image("images/bovw/gibberish.png")
134
  gr.Markdown("""
135
  ### All of the tools created as part of this project:
136
  """)