Spaces:
Running
Running
ChenyuRabbitLove
commited on
Commit
•
4427f36
1
Parent(s):
de7f21d
bug: fix minor bugs
Browse files
app.py
CHANGED
@@ -22,10 +22,10 @@ with gr.Blocks(theme=seafoam, css=get_content("css/style.css")) as demo:
|
|
22 |
):
|
23 |
pet_gallery = gr.Gallery(
|
24 |
[
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
]
|
30 |
* 2,
|
31 |
label="夥伴",
|
@@ -38,10 +38,10 @@ with gr.Blocks(theme=seafoam, css=get_content("css/style.css")) as demo:
|
|
38 |
|
39 |
badge_gallery = gr.Gallery(
|
40 |
[
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
45 |
]
|
46 |
* 2,
|
47 |
show_share_button=True,
|
@@ -55,7 +55,7 @@ with gr.Blocks(theme=seafoam, css=get_content("css/style.css")) as demo:
|
|
55 |
|
56 |
with gr.Column(scale=1):
|
57 |
avatar = gr.Gallery(
|
58 |
-
["
|
59 |
preview=True,
|
60 |
elem_id="user_avatar",
|
61 |
)
|
|
|
22 |
):
|
23 |
pet_gallery = gr.Gallery(
|
24 |
[
|
25 |
+
"medias/partner1.png",
|
26 |
+
"medias/partner2.png",
|
27 |
+
"medias/partner3.png",
|
28 |
+
"medias/partner4.png",
|
29 |
]
|
30 |
* 2,
|
31 |
label="夥伴",
|
|
|
38 |
|
39 |
badge_gallery = gr.Gallery(
|
40 |
[
|
41 |
+
"medias/badge.png",
|
42 |
+
"medias/badge2.png",
|
43 |
+
"medias/badge3.png",
|
44 |
+
"medias/badge4.png",
|
45 |
]
|
46 |
* 2,
|
47 |
show_share_button=True,
|
|
|
55 |
|
56 |
with gr.Column(scale=1):
|
57 |
avatar = gr.Gallery(
|
58 |
+
["medias/avatar.png", "medias/avatar2.png"],
|
59 |
preview=True,
|
60 |
elem_id="user_avatar",
|
61 |
)
|