meee
#2
by
breyness
- opened
README.md
CHANGED
|
@@ -4,9 +4,9 @@ emoji: 👁
|
|
| 4 |
colorFrom: pink
|
| 5 |
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 4 |
colorFrom: pink
|
| 5 |
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.10.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
|
@@ -68,10 +68,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 68 |
</p>
|
| 69 |
""")
|
| 70 |
with gr.Row():
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
with gr.Column():
|
| 74 |
-
result = gr.Image(label="Swapped SDXL Result")
|
| 75 |
prompt_in = gr.Textbox(label="Prompt target")
|
| 76 |
submit_btn = gr.Button("Submit")
|
| 77 |
|
|
|
|
| 68 |
</p>
|
| 69 |
""")
|
| 70 |
with gr.Row():
|
| 71 |
+
portrait_in = gr.Image(label="Your source portrait", type="filepath")
|
| 72 |
+
result = gr.Image(label="Swapped SDXL Result")
|
|
|
|
|
|
|
| 73 |
prompt_in = gr.Textbox(label="Prompt target")
|
| 74 |
submit_btn = gr.Button("Submit")
|
| 75 |
|