Commit
•
a619e77
1
Parent(s):
b16e290
add gradio demo (#5)
Browse files- add gradio demo (e0652c728e971c6e060857ab7f2cd77c3cd0a364)
Co-authored-by: Ahsen Khaliq <[email protected]>
README.md
CHANGED
@@ -20,6 +20,11 @@ inference: true
|
|
20 |
|
21 |
Use `portrait+ style` in your prompt (I recommend at the start)
|
22 |
|
|
|
|
|
|
|
|
|
|
|
23 |
The goal was to create a model with a consistent portrait composition and consistent eyes. See the batch example below for the consistency of the model's eyes. This model can do several styles, so you'll want to guide it along depending on your goals. Note below in the document that prompting celebrities works a bit differently than prompting generic characters, since real people have a more photoreal presence in the base 1.5 model. Also note that fantasy concepts, like cyberpunk people or wizards, will require more rigid prompting for photoreal styles than something common like a person in a park.
|
24 |
|
25 |
Portrait+ works best at a 1:1 aspect ratio, though I've had success with tall aspect ratios as well.
|
|
|
20 |
|
21 |
Use `portrait+ style` in your prompt (I recommend at the start)
|
22 |
|
23 |
+
### Gradio
|
24 |
+
|
25 |
+
We support a [Gradio](https://github.com/gradio-app/gradio) Web UI to run portraitplus:
|
26 |
+
[![Open In Spaces](https://camo.githubusercontent.com/00380c35e60d6b04be65d3d94a58332be5cc93779f630bcdfc18ab9a3a7d3388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f25463025394625413425393725323048756767696e67253230466163652d5370616365732d626c7565)](https://huggingface.co/spaces/wavymulder/portraitplus)
|
27 |
+
|
28 |
The goal was to create a model with a consistent portrait composition and consistent eyes. See the batch example below for the consistency of the model's eyes. This model can do several styles, so you'll want to guide it along depending on your goals. Note below in the document that prompting celebrities works a bit differently than prompting generic characters, since real people have a more photoreal presence in the base 1.5 model. Also note that fantasy concepts, like cyberpunk people or wizards, will require more rigid prompting for photoreal styles than something common like a person in a park.
|
29 |
|
30 |
Portrait+ works best at a 1:1 aspect ratio, though I've had success with tall aspect ratios as well.
|