remove time
Browse files
app.py
CHANGED
@@ -99,7 +99,6 @@ pipe = FluxInpaintPipeline.from_pretrained(bfl_repo, torch_dtype=torch.bfloat16)
|
|
99 |
MAX_SEED = np.iinfo(np.int32).max
|
100 |
TRIGGER = "a photo of TOK"
|
101 |
|
102 |
-
@spaces.GPU(duration=200)
|
103 |
def execute(image, prompt):
|
104 |
if not prompt :
|
105 |
gr.Info("Please enter a text prompt.")
|
@@ -152,6 +151,7 @@ def execute(image, prompt):
|
|
152 |
description = "This is an unofficial implementation of the ip face adapter for FLUX DEV and does not explicitly follow the ip face model, I created a wrapper with inpaint and mediapipe, I like using Fake IP Adapter"
|
153 |
title = "Flux IP Face Adapter"
|
154 |
iface = gr.Interface(
|
|
|
155 |
fn=execute,
|
156 |
description=description,
|
157 |
title=title,
|
|
|
99 |
MAX_SEED = np.iinfo(np.int32).max
|
100 |
TRIGGER = "a photo of TOK"
|
101 |
|
|
|
102 |
def execute(image, prompt):
|
103 |
if not prompt :
|
104 |
gr.Info("Please enter a text prompt.")
|
|
|
151 |
description = "This is an unofficial implementation of the ip face adapter for FLUX DEV and does not explicitly follow the ip face model, I created a wrapper with inpaint and mediapipe, I like using Fake IP Adapter"
|
152 |
title = "Flux IP Face Adapter"
|
153 |
iface = gr.Interface(
|
154 |
+
theme=gr.themes.Glass(),
|
155 |
fn=execute,
|
156 |
description=description,
|
157 |
title=title,
|