Spaces:
Runtime error
Runtime error
function createGradioAnimation()
Browse files
app.py
CHANGED
|
@@ -954,8 +954,14 @@ title_html = """
|
|
| 954 |
<p>This space is ready to work on ZeroGPU and GPU and has been tested successfully on ZeroGPU. Please leave a <a href="https://huggingface.co/spaces/Fabrice-TIERCELIN/FramePack/discussions/new">message in discussion</a> if you encounter issues.</p>
|
| 955 |
"""
|
| 956 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 957 |
css = make_progress_bar_css()
|
| 958 |
-
block = gr.Blocks(css=css).queue()
|
| 959 |
with block:
|
| 960 |
if torch.cuda.device_count() == 0:
|
| 961 |
with gr.Row():
|
|
|
|
| 954 |
<p>This space is ready to work on ZeroGPU and GPU and has been tested successfully on ZeroGPU. Please leave a <a href="https://huggingface.co/spaces/Fabrice-TIERCELIN/FramePack/discussions/new">message in discussion</a> if you encounter issues.</p>
|
| 955 |
"""
|
| 956 |
|
| 957 |
+
js = """
|
| 958 |
+
function createGradioAnimation() {
|
| 959 |
+
return 'Animation created';
|
| 960 |
+
}
|
| 961 |
+
"""
|
| 962 |
+
|
| 963 |
css = make_progress_bar_css()
|
| 964 |
+
block = gr.Blocks(css=css, js=js).queue()
|
| 965 |
with block:
|
| 966 |
if torch.cuda.device_count() == 0:
|
| 967 |
with gr.Row():
|