sander-wood commited on
Commit
b5c9b89
·
verified ·
1 Parent(s): 2bb1624

Upload 12 files

Browse files
Files changed (6) hide show
  1. .gitattributes +1 -0
  2. 4tDYMayp6Dk.jpg +0 -0
  3. BuYf0taXoNw.webp +0 -0
  4. Kw-_Ew5bVxs.jpg +0 -0
  5. V4EauuhVEw4.jpg +2 -2
  6. app.py +4 -4
.gitattributes CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  V4EauuhVEw4.jpg filter=lfs diff=lfs merge=lfs -text
 
 
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  V4EauuhVEw4.jpg filter=lfs diff=lfs merge=lfs -text
37
+ 4tDYMayp6Dk.jpg filter=lfs diff=lfs merge=lfs -text
4tDYMayp6Dk.jpg CHANGED

Git LFS Details

  • SHA256: 8e486dfec3b0130a205e52d08c19286dafac879f74a73d6103759f25d7a03ef5
  • Pointer size: 131 Bytes
  • Size of remote file: 436 kB
BuYf0taXoNw.webp ADDED
Kw-_Ew5bVxs.jpg CHANGED
V4EauuhVEw4.jpg CHANGED

Git LFS Details

  • SHA256: c8773f450b8d2adc2e041c9f21bcb88cc861ee34300dae04734ff9ae57f413a7
  • Pointer size: 131 Bytes
  • Size of remote file: 292 kB

Git LFS Details

  • SHA256: 5537320edd8e28df29775fa5801df8f98cd9fba3cc3ee1691bca0c702aeba280
  • Pointer size: 131 Bytes
  • Size of remote file: 207 kB
app.py CHANGED
@@ -267,6 +267,10 @@ def search_wrapper(search_mode, text_input, image_input):
267
 
268
  # 定义示例数据(示例数据放在组件定义之后也可以正常运行)
269
  examples = [
 
 
 
 
270
  ["Text", "classic rock, British, 1960s, upbeat", None],
271
  ["Text", "A Latin jazz piece with rhythmic percussion and brass", None],
272
  ["Text", "big band, major key, swing, brass-heavy, syncopation, baritone vocal", None],
@@ -275,10 +279,6 @@ examples = [
275
  ["Text", "D大调四四拍的爱尔兰舞曲", None],
276
  ["Text", "Ιερή μουσική με πνευματική ατμόσφαιρα", None],
277
  ["Text", "የፍቅር ሙዚቃ ሞቅ እና ስሜታማ ከሆነ ነገር ግን ድንቅ እና አስደሳች ቃላት ያካትታል", None],
278
- ["Image", None, "V4EauuhVEw4.jpg"],
279
- ["Image", None, "Kw-_Ew5bVxs.jpg"],
280
- ["Image", None, "BuYf0taXoNw.jpg"],
281
- ["Image", None, "4tDYMayp6Dk.jpg"],
282
  ]
283
 
284
  with gr.Blocks() as demo:
 
267
 
268
  # 定义示例数据(示例数据放在组件定义之后也可以正常运行)
269
  examples = [
270
+ ["Image", None, "V4EauuhVEw4.jpg"],
271
+ ["Image", None, "Kw-_Ew5bVxs.jpg"],
272
+ ["Image", None, "BuYf0taXoNw.webp"],
273
+ ["Image", None, "4tDYMayp6Dk.jpg"],
274
  ["Text", "classic rock, British, 1960s, upbeat", None],
275
  ["Text", "A Latin jazz piece with rhythmic percussion and brass", None],
276
  ["Text", "big band, major key, swing, brass-heavy, syncopation, baritone vocal", None],
 
279
  ["Text", "D大调四四拍的爱尔兰舞曲", None],
280
  ["Text", "Ιερή μουσική με πνευματική ατμόσφαιρα", None],
281
  ["Text", "የፍቅር ሙዚቃ ሞቅ እና ስሜታማ ከሆነ ነገር ግን ድንቅ እና አስደሳች ቃላት ያካትታል", None],
 
 
 
 
282
  ]
283
 
284
  with gr.Blocks() as demo: