Spaces:
Running
Running
Commit ·
d74a296
1
Parent(s): c0768c3
refined the prompt text.
Browse files
app.py
CHANGED
|
@@ -504,7 +504,7 @@ description = r'''
|
|
| 504 |
<a href='https://github.com/InstantID/InstantID' target="_blank"><b>InstantID</b></a> demo via <a href="https://novita.ai/" target="_blank"><b>API</b></a>.<br>
|
| 505 |
|
| 506 |
How to use:<br>
|
| 507 |
-
0. Input your <a href="https://novita.ai/
|
| 508 |
1. Upload an image with a face. For images with multiple faces, we will only detect the largest face. Ensure the face is not too small and is clearly visible without significant obstructions or blurring.
|
| 509 |
2. (Optional) You can upload another image as a reference for the face pose. If you don't, we will use the first detected face image to extract facial landmarks. If you use a cropped face at step 1, it is recommended to upload it to define a new face pose.
|
| 510 |
3. (Optional) You can select multiple ControlNet models to control the generation process. The default is to use the IdentityNet only. The ControlNet models include pose skeleton, canny, and depth. You can adjust the strength of each ControlNet model to control the generation process.
|
|
@@ -534,7 +534,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 534 |
|
| 535 |
with gr.Row():
|
| 536 |
with gr.Column(scale=1):
|
| 537 |
-
novita_key = gr.Textbox(value='', label='
|
| 538 |
with gr.Column(scale=1):
|
| 539 |
user_balance = gr.Textbox(label='User Balance', value='0.0')
|
| 540 |
|
|
|
|
| 504 |
<a href='https://github.com/InstantID/InstantID' target="_blank"><b>InstantID</b></a> demo via <a href="https://novita.ai/" target="_blank"><b>API</b></a>.<br>
|
| 505 |
|
| 506 |
How to use:<br>
|
| 507 |
+
0. Input your <a href="https://novita.ai/en/settings/key-management" target="_blank"><b>API Key</b></a>.
|
| 508 |
1. Upload an image with a face. For images with multiple faces, we will only detect the largest face. Ensure the face is not too small and is clearly visible without significant obstructions or blurring.
|
| 509 |
2. (Optional) You can upload another image as a reference for the face pose. If you don't, we will use the first detected face image to extract facial landmarks. If you use a cropped face at step 1, it is recommended to upload it to define a new face pose.
|
| 510 |
3. (Optional) You can select multiple ControlNet models to control the generation process. The default is to use the IdentityNet only. The ControlNet models include pose skeleton, canny, and depth. You can adjust the strength of each ControlNet model to control the generation process.
|
|
|
|
| 534 |
|
| 535 |
with gr.Row():
|
| 536 |
with gr.Column(scale=1):
|
| 537 |
+
novita_key = gr.Textbox(value='', label='Model API KEY', placeholder='api key', type='password')
|
| 538 |
with gr.Column(scale=1):
|
| 539 |
user_balance = gr.Textbox(label='User Balance', value='0.0')
|
| 540 |
|