Spaces:
Runtime error
Runtime error
Upload 12 files
Browse files- .gitattributes +1 -0
- 4tDYMayp6Dk.jpg +0 -0
- BuYf0taXoNw.webp +0 -0
- Kw-_Ew5bVxs.jpg +0 -0
- V4EauuhVEw4.jpg +2 -2
- 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
|
BuYf0taXoNw.webp
ADDED
|
Kw-_Ew5bVxs.jpg
CHANGED
|
|
V4EauuhVEw4.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
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:
|