Spaces:
Sleeping
Sleeping
feat: add theme
Browse files
app.py
CHANGED
|
@@ -67,20 +67,22 @@ theme = gr.themes.Ocean(
|
|
| 67 |
)
|
| 68 |
|
| 69 |
with gr.Blocks(theme=theme, css=css) as demo:
|
| 70 |
-
gr.HTML("""
|
| 71 |
-
<div align="center" style="margin-bottom: 20px;">
|
| 72 |
-
<img src='/gradio_api/file=Faice.png' width="160">
|
| 73 |
-
<p style="font-size: 16px; max-width: 960px; margin: 5px auto;">
|
| 74 |
-
Text2Face: Human Faces Generation with Diffusion Models.
|
| 75 |
-
</p>
|
| 76 |
-
<p style="font-size: 15px;">
|
| 77 |
-
📄git <a href="https://github.com/frankcholula/faice/blob/main/paper/human_faces_generation_with_diffusion_models.pdf" target="_blank">Report</a>
|
| 78 |
-
|
|
| 79 |
-
💻 <a href="https://github.com/frankcholula/faice" target="_blank">Code</a>
|
| 80 |
-
</p>
|
| 81 |
-
</div>
|
| 82 |
-
""")
|
| 83 |
with gr.Column(elem_id="col-container"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
with gr.Row():
|
| 85 |
prompt = gr.Text(
|
| 86 |
label="Prompt",
|
|
|
|
| 67 |
)
|
| 68 |
|
| 69 |
with gr.Blocks(theme=theme, css=css) as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
with gr.Column(elem_id="col-container"):
|
| 71 |
+
|
| 72 |
+
gr.HTML("""
|
| 73 |
+
<div align="center" style="margin-bottom: 20px;">
|
| 74 |
+
<img src='/gradio_api/file=Faice.png' width="160">
|
| 75 |
+
<p style="font-size: 16px; max-width: 960px; margin: 5px auto;">
|
| 76 |
+
Text2Face: Human Faces Generation with Diffusion Models.
|
| 77 |
+
</p>
|
| 78 |
+
<p style="font-size: 15px;">
|
| 79 |
+
📄git <a href="https://github.com/frankcholula/faice/blob/main/paper/human_faces_generation_with_diffusion_models.pdf" target="_blank">Report</a>
|
| 80 |
+
|
|
| 81 |
+
💻 <a href="https://github.com/frankcholula/faice" target="_blank">Code</a>
|
| 82 |
+
</p>
|
| 83 |
+
</div>
|
| 84 |
+
""")
|
| 85 |
+
|
| 86 |
with gr.Row():
|
| 87 |
prompt = gr.Text(
|
| 88 |
label="Prompt",
|