Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -151,7 +151,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 151 |
type="numpy"
|
| 152 |
)
|
| 153 |
|
| 154 |
-
with gr.Column(
|
| 155 |
dynamic_scale = gr.Slider(
|
| 156 |
minimum=0.5,
|
| 157 |
maximum=2.0,
|
|
@@ -181,14 +181,13 @@ with gr.Blocks(css=css) as demo:
|
|
| 181 |
api_name="animate"
|
| 182 |
)
|
| 183 |
|
| 184 |
-
# Examples section
|
| 185 |
gr.Examples(
|
| 186 |
examples=get_example(),
|
| 187 |
fn=process_sonic,
|
| 188 |
inputs=[image_input, audio_input, dynamic_scale],
|
| 189 |
outputs=video_output,
|
| 190 |
-
cache_examples=False
|
| 191 |
-
elem_classes="example-section"
|
| 192 |
)
|
| 193 |
|
| 194 |
# Footer with attribution and links
|
|
|
|
| 151 |
type="numpy"
|
| 152 |
)
|
| 153 |
|
| 154 |
+
with gr.Column():
|
| 155 |
dynamic_scale = gr.Slider(
|
| 156 |
minimum=0.5,
|
| 157 |
maximum=2.0,
|
|
|
|
| 181 |
api_name="animate"
|
| 182 |
)
|
| 183 |
|
| 184 |
+
# Examples section (elem_classes 인자 제거)
|
| 185 |
gr.Examples(
|
| 186 |
examples=get_example(),
|
| 187 |
fn=process_sonic,
|
| 188 |
inputs=[image_input, audio_input, dynamic_scale],
|
| 189 |
outputs=video_output,
|
| 190 |
+
cache_examples=False
|
|
|
|
| 191 |
)
|
| 192 |
|
| 193 |
# Footer with attribution and links
|