Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,7 +68,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 68 |
)
|
| 69 |
with gr.Row():
|
| 70 |
select_base = gr.Dropdown(
|
| 71 |
-
label='
|
| 72 |
choices=[
|
| 73 |
"Cartoon",
|
| 74 |
"Realistic",
|
|
@@ -79,23 +79,23 @@ with gr.Blocks(css=css) as demo:
|
|
| 79 |
interactive=True
|
| 80 |
)
|
| 81 |
select_motion = gr.Dropdown(
|
| 82 |
-
label='
|
| 83 |
choices=[
|
| 84 |
-
("
|
| 85 |
-
("
|
| 86 |
-
("
|
| 87 |
-
("
|
| 88 |
-
("
|
| 89 |
-
("
|
| 90 |
-
("
|
| 91 |
-
("
|
| 92 |
-
("
|
| 93 |
],
|
| 94 |
value="",
|
| 95 |
interactive=True
|
| 96 |
)
|
| 97 |
select_step = gr.Dropdown(
|
| 98 |
-
label='
|
| 99 |
choices=[
|
| 100 |
('1-Step', 1),
|
| 101 |
('2-Step', 2),
|
|
@@ -106,9 +106,9 @@ with gr.Blocks(css=css) as demo:
|
|
| 106 |
interactive=True
|
| 107 |
)
|
| 108 |
with gr.Row():
|
| 109 |
-
submit = gr.Button("
|
| 110 |
video = gr.Video(
|
| 111 |
-
label='
|
| 112 |
autoplay=True,
|
| 113 |
height=512,
|
| 114 |
width=512,
|
|
|
|
| 68 |
)
|
| 69 |
with gr.Row():
|
| 70 |
select_base = gr.Dropdown(
|
| 71 |
+
label='Styles',
|
| 72 |
choices=[
|
| 73 |
"Cartoon",
|
| 74 |
"Realistic",
|
|
|
|
| 79 |
interactive=True
|
| 80 |
)
|
| 81 |
select_motion = gr.Dropdown(
|
| 82 |
+
label='Movements',
|
| 83 |
choices=[
|
| 84 |
+
("Default", ""),
|
| 85 |
+
("Zoom in", "guoyww/animatediff-motion-lora-zoom-in"),
|
| 86 |
+
("Zoom out", "guoyww/animatediff-motion-lora-zoom-out"),
|
| 87 |
+
("Tilt up", "guoyww/animatediff-motion-lora-tilt-up"),
|
| 88 |
+
("Tilt down", "guoyww/animatediff-motion-lora-tilt-down"),
|
| 89 |
+
("Pan left", "guoyww/animatediff-motion-lora-pan-left"),
|
| 90 |
+
("Pan right", "guoyww/animatediff-motion-lora-pan-right"),
|
| 91 |
+
("Rolling Anticlockwise", "guoyww/animatediff-motion-lora-rolling-anticlockwise"),
|
| 92 |
+
("Rolling Clockwise", "guoyww/animatediff-motion-lora-rolling-clockwise"),
|
| 93 |
],
|
| 94 |
value="",
|
| 95 |
interactive=True
|
| 96 |
)
|
| 97 |
select_step = gr.Dropdown(
|
| 98 |
+
label='ထုတ်မည့်အဆင့်များ (Qualit)',
|
| 99 |
choices=[
|
| 100 |
('1-Step', 1),
|
| 101 |
('2-Step', 2),
|
|
|
|
| 106 |
interactive=True
|
| 107 |
)
|
| 108 |
with gr.Row():
|
| 109 |
+
submit = gr.Button("ဖန်တီးမယ်", variant='primary')
|
| 110 |
video = gr.Video(
|
| 111 |
+
label='ဖန်တီးထားသည့် video',
|
| 112 |
autoplay=True,
|
| 113 |
height=512,
|
| 114 |
width=512,
|