fantaxy commited on
Commit
e525d7c
ยท
verified ยท
1 Parent(s): 2a602ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +29 -11
app.py CHANGED
@@ -109,18 +109,17 @@ def create_preview_image(frames):
109
 
110
  return preview
111
 
112
- # ํ”„๋กฌํ”„ํŠธ ์˜ˆ์ œ๋„ ๋” ๋ช…ํ™•ํ•˜๊ฒŒ ์ˆ˜์ •
113
  examples = [
114
- "a red panda doing a complete backflip in the snow",
115
- "an astronaut spinning in zero gravity on the moon",
116
- "a butterfly emerging from its chrysalis and spreading its wings",
117
- "a robot painting a masterpiece stroke by stroke",
118
- "a dragon egg cracking open and a baby dragon emerging",
119
- "a time portal opening and someone stepping through",
120
- "a mermaid diving through bioluminescent waves",
121
- "a steampunk clock's gears turning one complete cycle",
122
- "a flower bud opening into full bloom",
123
- "a wizard casting a spell with energy swirling around"
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: