Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -109,18 +109,17 @@ def create_preview_image(frames):
|
|
| 109 |
|
| 110 |
return preview
|
| 111 |
|
| 112 |
-
# ํ๋กฌํํธ ์์ ๋ ๋ ๋ช
ํํ๊ฒ ์์
|
| 113 |
examples = [
|
| 114 |
-
"a red panda
|
| 115 |
-
"an astronaut
|
| 116 |
-
"a butterfly
|
| 117 |
-
"a robot painting a
|
| 118 |
-
"a dragon egg
|
| 119 |
-
"a
|
| 120 |
-
"a mermaid
|
| 121 |
-
"a steampunk clock
|
| 122 |
-
"a flower bud opening
|
| 123 |
-
"a wizard
|
| 124 |
]
|
| 125 |
|
| 126 |
css = """
|
|
@@ -156,6 +155,25 @@ css = """
|
|
| 156 |
div[class*="examples"] {
|
| 157 |
background: transparent !important;
|
| 158 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 159 |
"""
|
| 160 |
|
| 161 |
with gr.Blocks(theme="Yntec/HaleyCH_Theme_Orange", css=css) as demo:
|
|
|
|
| 109 |
|
| 110 |
return preview
|
| 111 |
|
|
|
|
| 112 |
examples = [
|
| 113 |
+
"a red panda in mid-backflip",
|
| 114 |
+
"an astronaut floating in space",
|
| 115 |
+
"a butterfly spreading its wings",
|
| 116 |
+
"a robot arm painting with a brush",
|
| 117 |
+
"a dragon egg with cracks appearing",
|
| 118 |
+
"a person stepping through a glowing portal",
|
| 119 |
+
"a mermaid swimming underwater",
|
| 120 |
+
"a steampunk clock gear turning",
|
| 121 |
+
"a flower bud slowly opening",
|
| 122 |
+
"a wizard with magical energy swirling"
|
| 123 |
]
|
| 124 |
|
| 125 |
css = """
|
|
|
|
| 155 |
div[class*="examples"] {
|
| 156 |
background: transparent !important;
|
| 157 |
}
|
| 158 |
+
|
| 159 |
+
/* ํ๋ก๊ทธ๋ ์ค ๋ฐ ์คํ์ผ ๊ฐ์ */
|
| 160 |
+
.progress-bar {
|
| 161 |
+
background-color: #f0f0f0;
|
| 162 |
+
border-radius: 10px;
|
| 163 |
+
padding: 3px;
|
| 164 |
+
margin: 10px 0;
|
| 165 |
+
}
|
| 166 |
+
.progress-bar-fill {
|
| 167 |
+
background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
|
| 168 |
+
height: 20px;
|
| 169 |
+
border-radius: 7px;
|
| 170 |
+
transition: width 0.3s ease-out;
|
| 171 |
+
}
|
| 172 |
+
.progress-text {
|
| 173 |
+
color: black;
|
| 174 |
+
font-weight: 500;
|
| 175 |
+
margin-bottom: 5px;
|
| 176 |
+
}
|
| 177 |
"""
|
| 178 |
|
| 179 |
with gr.Blocks(theme="Yntec/HaleyCH_Theme_Orange", css=css) as demo:
|