kittchy commited on
Commit
c31c725
1 Parent(s): 6b7bb3b

[FIX] index 修正

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def save(image_path: str):
24
  def search(prompt: str):
25
  urls = model.search(prompt)
26
  result = [None] * 5
27
- for i, url in enumerate(urls):
28
  result[i] = url
29
 
30
  return result
 
24
  def search(prompt: str):
25
  urls = model.search(prompt)
26
  result = [None] * 5
27
+ for i, url in enumerate(urls[:5]):
28
  result[i] = url
29
 
30
  return result