Catherine ZHOU commited on
Commit
1a51248
·
1 Parent(s): 854a39c

update file path

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -170,7 +170,7 @@ def display(images, texts, event_data: gr.SelectData):
170
 
171
  callback = SaveRelevanceCallback()
172
  time_record = SimpleCSVLogger()
173
- with gr.Blocks() as demo:
174
  # create display
175
  gr.Markdown(
176
  """
@@ -183,7 +183,7 @@ with gr.Blocks() as demo:
183
  - To use it, simply write which image you are looking for. See the examples section below for more details.
184
  - After you submit your query, you will see a gallery of images that are related to your query.
185
  - You can select the relevance of each image by using the dropdown menu.
186
- - Click save buttom to save the image and its relevance to [a csv file](./image_relevance/relevance_log.csv).
187
  - After you are done with all the images, click the `I'm Done!` buttom. We will save the time you spent to mark all images.
188
 
189
  ---
 
170
 
171
  callback = SaveRelevanceCallback()
172
  time_record = SimpleCSVLogger()
173
+ with gr.Blocks(title="Text to Image using CLIP Model 📸") as demo:
174
  # create display
175
  gr.Markdown(
176
  """
 
183
  - To use it, simply write which image you are looking for. See the examples section below for more details.
184
  - After you submit your query, you will see a gallery of images that are related to your query.
185
  - You can select the relevance of each image by using the dropdown menu.
186
+ - Click save buttom to save the image and its relevance to [a csv file](./blob/main/image_relevance/relevance_log.csv).
187
  - After you are done with all the images, click the `I'm Done!` buttom. We will save the time you spent to mark all images.
188
 
189
  ---