Commit
•
b9abacc
1
Parent(s):
15571a3
Update app.py
Browse files
app.py
CHANGED
@@ -84,12 +84,18 @@ def run(*args):
|
|
84 |
with gr.Blocks(title="PuLID") as demo:
|
85 |
with gr.Row():
|
86 |
with gr.Column():
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
prompt = gr.Textbox(label="Prompt", value='portrait,cinematic,wolf ears,white hair')
|
94 |
submit = gr.Button("Generate")
|
95 |
neg_prompt = gr.Textbox(label="Negative Prompt", value=DEFAULT_NEGATIVE_PROMPT)
|
|
|
84 |
with gr.Blocks(title="PuLID") as demo:
|
85 |
with gr.Row():
|
86 |
with gr.Column():
|
87 |
+
gr.HTML("""
|
88 |
+
<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;">
|
89 |
+
<div style="text-align: center; color: black;">
|
90 |
+
<p style="color: black;">This space is a headless component of the cloud rendering engine used by AiTube.</p>
|
91 |
+
<p style="color: black;">It is not available for public use, but you can use the <a href="https://huggingface.co/spaces/yanze/PuLID" target="_blank">original space</a>.</p>
|
92 |
+
</div>
|
93 |
+
</div>""")
|
94 |
+
token = gr.Textbox()
|
95 |
+
face_image = gr.Textbox(label="ID image (main)", placeholder="Enter Data URI for the image")
|
96 |
+
supp_image1 = gr.Textbox(label="Additional ID image (auxiliary)", placeholder="Enter Data URI for the image")
|
97 |
+
supp_image2 = gr.Textbox(label="Additional ID image (auxiliary)", placeholder="Enter Data URI for the image")
|
98 |
+
supp_image3 = gr.Textbox(label="Additional ID image (auxiliary)", placeholder="Enter Data URI for the image")
|
99 |
prompt = gr.Textbox(label="Prompt", value='portrait,cinematic,wolf ears,white hair')
|
100 |
submit = gr.Button("Generate")
|
101 |
neg_prompt = gr.Textbox(label="Negative Prompt", value=DEFAULT_NEGATIVE_PROMPT)
|