Commit
·
cb35e7a
1
Parent(s):
f226a29
Update app.py
Browse files
app.py
CHANGED
@@ -103,9 +103,13 @@ def resize_image(image, output_size=(1024, 576)):
|
|
103 |
return cropped_image
|
104 |
|
105 |
with gr.Blocks() as demo:
|
106 |
-
|
107 |
-
|
108 |
-
|
|
|
|
|
|
|
|
|
109 |
secret_token = gr.Text(
|
110 |
label='Secret Token',
|
111 |
max_lines=1,
|
|
|
103 |
return cropped_image
|
104 |
|
105 |
with gr.Blocks() as demo:
|
106 |
+
gr.HTML("""
|
107 |
+
<div style="z-index: 100; position: fixed; top: 0px; right: 0px; left: 0px; bottom: 0px; width: 100%; height: 100%; background: white; display: flex; align-items: center; justify-content: center; color: black;">
|
108 |
+
<div style="text-align: center; color: black;">
|
109 |
+
<p style="color: black;">This space is a REST API to programmatically generate MP4 videos.</p>
|
110 |
+
<p style="color: black;">Interested in using it? Look no further than the <a href="https://huggingface.co/spaces/multimodalart/stable-video-diffusion" target="_blank">original space</a>!</p>
|
111 |
+
</div>
|
112 |
+
</div>""")
|
113 |
secret_token = gr.Text(
|
114 |
label='Secret Token',
|
115 |
max_lines=1,
|