visualizingjp commited on
Commit
09a1cac
·
verified ·
1 Parent(s): 519a1ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -103,17 +103,17 @@ def image_search(query, corpus, name, n_results=24):
103
  description = """
104
  # Semantic image search
105
 
106
- **Enter your query and hit enter**
107
 
108
- *Built with OpenAI's [CLIP](https://openai.com/blog/clip/) model, 🤗 Hugging Face's [transformers library](https://huggingface.co/transformers/), [Streamlit](https://streamlit.io/), 25k images from [Unsplash](https://unsplash.com/) and 8k images from [The Movie Database (TMDB)](https://www.themoviedb.org/)*
109
 
110
- *Inspired by [Unsplash Image Search](https://github.com/haltakov/natural-language-image-search) from Vladimir Haltakov and [Alph, The Sacred River](https://github.com/thoppe/alph-the-sacred-river) from Travis Hoppe*
111
  """
112
 
113
  howto = """
114
- - Click on an image to use it as a query and find similar images
115
- - Several queries, including one based on an image, can be combined (use "**;**" as a separator)
116
- - If the input includes "**EXCLUDING**", the part right of it will be used as a negative query
117
  """
118
 
119
  div_style = {
 
103
  description = """
104
  # Semantic image search
105
 
106
+ **検索語を入力してから Enter キーを押してください**
107
 
108
+ *OpenAI [CLIP](https://openai.com/blog/clip/) model, 🤗 Hugging Face's [transformers library](https://huggingface.co/transformers/), [Streamlit](https://streamlit.io/), [Unsplash](https://unsplash.com/) 25k images [The Movie Database (TMDB)](https://www.themoviedb.org/) の 8k images を使用して構築しています。*
109
 
110
+ *Vladimir Haltakov [Unsplash Image Search](https://github.com/haltakov/natural-language-image-search) Travis Hoppe [Alph, The Sacred River](https://github.com/thoppe/alph-the-sacred-river)  に触発されました。*
111
  """
112
 
113
  howto = """
114
+ - 画像をクリックすると、それをクエリとして使用し、類似画像を検索できます。
115
+ - 複数の検索語を組み合わせることができます(区切り文字として「**;**」を使用します)
116
+ - 検索語に 「**EXCLUDING**」 が含まれている場合、その右側の部分が否定クエリとして使用されます。
117
  """
118
 
119
  div_style = {