Spaces:
Running
on
L40S
Running
on
L40S
BestWishYsh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -224,7 +224,7 @@ examples_images = [
|
|
224 |
with gr.Blocks() as demo:
|
225 |
gr.Markdown("""
|
226 |
<div style="text-align: center; font-size: 32px; font-weight: bold; margin-bottom: 20px;">
|
227 |
-
ConsisID Space🤗
|
228 |
</div>
|
229 |
<div style="text-align: center;">
|
230 |
<a href="https://huggingface.co/BestWishYsh/ConsisID">🤗 Model Hub</a> |
|
@@ -240,13 +240,13 @@ with gr.Blocks() as demo:
|
|
240 |
"></a>
|
241 |
</div>
|
242 |
<div style="text-align: center; font-size: 15px; font-weight: bold; color: red; margin-bottom: 20px;">
|
243 |
-
⚠️ This demo is for academic research and experiential use only.
|
244 |
</div>
|
245 |
""")
|
246 |
with gr.Row():
|
247 |
with gr.Column():
|
248 |
with gr.Accordion("IPT2V: Face Input", open=True):
|
249 |
-
image_input = gr.Image(label="Input Image (should contain clear face)")
|
250 |
prompt = gr.Textbox(label="Prompt (Less than 200 Words)", placeholder="Enter your prompt here. ConsisID has high requirements for prompt quality. You can use GPT-4o to refine the input text prompt, example can be found on our github.", lines=5)
|
251 |
with gr.Accordion("Examples", open=False):
|
252 |
examples_component_images = gr.Examples(
|
|
|
224 |
with gr.Blocks() as demo:
|
225 |
gr.Markdown("""
|
226 |
<div style="text-align: center; font-size: 32px; font-weight: bold; margin-bottom: 20px;">
|
227 |
+
ConsisID-Preview Space🤗
|
228 |
</div>
|
229 |
<div style="text-align: center;">
|
230 |
<a href="https://huggingface.co/BestWishYsh/ConsisID">🤗 Model Hub</a> |
|
|
|
240 |
"></a>
|
241 |
</div>
|
242 |
<div style="text-align: center; font-size: 15px; font-weight: bold; color: red; margin-bottom: 20px;">
|
243 |
+
⚠️ This demo is for academic research and experiential use only. The current codes and weights are our early versions, and we will release the full codes in the next few days.
|
244 |
</div>
|
245 |
""")
|
246 |
with gr.Row():
|
247 |
with gr.Column():
|
248 |
with gr.Accordion("IPT2V: Face Input", open=True):
|
249 |
+
image_input = gr.Image(label="Input Image (should contain clear face, preferably half-body or full-body image)")
|
250 |
prompt = gr.Textbox(label="Prompt (Less than 200 Words)", placeholder="Enter your prompt here. ConsisID has high requirements for prompt quality. You can use GPT-4o to refine the input text prompt, example can be found on our github.", lines=5)
|
251 |
with gr.Accordion("Examples", open=False):
|
252 |
examples_component_images = gr.Examples(
|