Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ from engine.ui_model import fetch_model, run_model
|
|
17 |
from engine.ui_gradio import fetch_ui
|
18 |
|
19 |
engage_logo = Image.open("engage_studios_logo.png").resize((700, 88), Image.Resampling.BICUBIC)
|
20 |
-
engage_logo_mask = np.array(engage_logo.split()[-1])[..., None] / 255
|
21 |
engage_logo_np = np.array(engage_logo.convert('RGB'))
|
22 |
|
23 |
pipe = fetch_model()
|
|
|
17 |
from engine.ui_gradio import fetch_ui
|
18 |
|
19 |
engage_logo = Image.open("engage_studios_logo.png").resize((700, 88), Image.Resampling.BICUBIC)
|
20 |
+
engage_logo_mask = np.clip(np.array(engage_logo.split()[-1])[..., None] / 255, 0, 1)
|
21 |
engage_logo_np = np.array(engage_logo.convert('RGB'))
|
22 |
|
23 |
pipe = fetch_model()
|