Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,13 @@ import gradio as gr
|
|
| 4 |
|
| 5 |
gradio_app = gr.Blocks()
|
| 6 |
with gradio_app:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
with gr.Row():
|
| 8 |
with gr.Column():
|
| 9 |
web_demo()
|
|
|
|
| 4 |
|
| 5 |
gradio_app = gr.Blocks()
|
| 6 |
with gradio_app:
|
| 7 |
+
gr.HTML("""
|
| 8 |
+
<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;">
|
| 9 |
+
<div style="text-align: center; color: black;">
|
| 10 |
+
<p style="color: black;">This space is a REST API to programmatically generate an image.</p>
|
| 11 |
+
<p style="color: black;">Interested in using it? Please use the <a href="https://huggingface.co/spaces/ArtGAN/Diffusion-API" target="_blank">original space</a>, thank you!</p>
|
| 12 |
+
</div>
|
| 13 |
+
</div>""")
|
| 14 |
with gr.Row():
|
| 15 |
with gr.Column():
|
| 16 |
web_demo()
|