Spaces:
Running
Running
add footer
Browse files- app.py +1 -4
- demo_footer.html +3 -0
app.py
CHANGED
@@ -292,9 +292,6 @@ with gr.Blocks(css=css, elem_id="demo-container") as demo:
|
|
292 |
,
|
293 |
inputs=[image,file]#example not fire event
|
294 |
)
|
295 |
-
gr.HTML(
|
296 |
-
"""
|
297 |
-
<P> Images are generated with <a href="https://huggingface.co/black-forest-labs/FLUX.1-schnell">FLUX.1-schnell</a> and licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">the Apache 2.0 License</a>
|
298 |
-
""")
|
299 |
|
300 |
demo.launch(allowed_paths=["examples/anime.webp"])#
|
|
|
292 |
,
|
293 |
inputs=[image,file]#example not fire event
|
294 |
)
|
295 |
+
gr.HTML(read_file("demo_footer.html"))
|
|
|
|
|
|
|
296 |
|
297 |
demo.launch(allowed_paths=["examples/anime.webp"])#
|
demo_footer.html
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
<div>
|
2 |
+
<P> Images are generated with <a href="https://huggingface.co/black-forest-labs/FLUX.1-schnell">FLUX.1-schnell</a> and licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">the Apache 2.0 License</a>
|
3 |
+
</div>
|