Spaces:
Runtime error
Runtime error
Changed to fp32 for CPU
Browse files
app.py
CHANGED
@@ -3,8 +3,8 @@ from utils.scraper import extract_link
|
|
3 |
import gradio as gr
|
4 |
|
5 |
extractor, model = load_seg()
|
6 |
-
prompt_pipe = load_inpainting(using_prompt = True
|
7 |
-
cloth_pipe = load_inpainting(
|
8 |
|
9 |
def generate_with_mask_(image_path: str, cloth_path: str = None, prompt: str = None):
|
10 |
"""
|
|
|
3 |
import gradio as gr
|
4 |
|
5 |
extractor, model = load_seg()
|
6 |
+
prompt_pipe = load_inpainting(using_prompt = True)
|
7 |
+
cloth_pipe = load_inpainting()
|
8 |
|
9 |
def generate_with_mask_(image_path: str, cloth_path: str = None, prompt: str = None):
|
10 |
"""
|