Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -162,10 +162,11 @@ description_text.text("説明文の意味が近い「いらすとや」画像を
|
|
162 |
|
163 |
prev_query = ""
|
164 |
query_input = st.text_input(label="説明文", value="")
|
165 |
-
search_buttion = st.button("検索")
|
166 |
|
167 |
closest_n = st.number_input(label="検索数", min_value=1, value=10, max_value=100)
|
168 |
|
|
|
|
|
169 |
if search_buttion or prev_query != query_input:
|
170 |
query = query_input
|
171 |
prev_query = query
|
|
|
162 |
|
163 |
prev_query = ""
|
164 |
query_input = st.text_input(label="説明文", value="")
|
|
|
165 |
|
166 |
closest_n = st.number_input(label="検索数", min_value=1, value=10, max_value=100)
|
167 |
|
168 |
+
search_buttion = st.button("検索")
|
169 |
+
|
170 |
if search_buttion or prev_query != query_input:
|
171 |
query = query_input
|
172 |
prev_query = query
|