Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,6 @@ mod.rgb_to_grayscale = F.rgb_to_grayscale
|
|
13 |
sys.modules["torchvision.transforms.functional_tensor"] = mod
|
14 |
# ---------------------------------------------------------------------------
|
15 |
|
16 |
-
|
17 |
import os, subprocess, cv2, torch, spaces, gradio as gr, numpy as np
|
18 |
from pathlib import Path
|
19 |
from PIL import Image
|
@@ -185,12 +184,9 @@ except Exception as e:
|
|
185 |
# 4. γγγ³γγ & ηζι’ζ°
|
186 |
##############################################################################
|
187 |
BASE_PROMPT = (
|
188 |
-
"
|
189 |
-
"
|
190 |
-
"
|
191 |
-
"textured skin, high detail, shot on Canon EOS R5, 85 mm f/1.4, ISO 200,\n"
|
192 |
-
"<lora:ip-adapter-faceid-plusv2_sd15_lora:0.65>, (face),\n"
|
193 |
-
"(aesthetic:1.1), (cinematic:0.8)"
|
194 |
)
|
195 |
NEG_PROMPT = (
|
196 |
"ng_deepnegative_v1_75t, CyberRealistic_Negative-neg, UnrealisticDream, "
|
@@ -272,4 +268,4 @@ with gr.Blocks() as demo:
|
|
272 |
)
|
273 |
|
274 |
print("launching β¦")
|
275 |
-
demo.queue().launch(show_error=True)
|
|
|
13 |
sys.modules["torchvision.transforms.functional_tensor"] = mod
|
14 |
# ---------------------------------------------------------------------------
|
15 |
|
|
|
16 |
import os, subprocess, cv2, torch, spaces, gradio as gr, numpy as np
|
17 |
from pathlib import Path
|
18 |
from PIL import Image
|
|
|
184 |
# 4. γγγ³γγ & ηζι’ζ°
|
185 |
##############################################################################
|
186 |
BASE_PROMPT = (
|
187 |
+
"masterpiece, ultra-realistic photo of {subject}, "
|
188 |
+
"cinematic lighting, shallow depth of field, textured skin, "
|
189 |
+
"Canon EOS R5 85 mm f/1.4, <lora:ip-adapter-faceid-plusv2_sd15_lora:0.65>"
|
|
|
|
|
|
|
190 |
)
|
191 |
NEG_PROMPT = (
|
192 |
"ng_deepnegative_v1_75t, CyberRealistic_Negative-neg, UnrealisticDream, "
|
|
|
268 |
)
|
269 |
|
270 |
print("launching β¦")
|
271 |
+
demo.queue().launch(show_error=True)
|