Spaces:
Runtime error
Runtime error
Bug fix
Browse files
app.py
CHANGED
@@ -5,9 +5,8 @@ import json
|
|
5 |
import numpy as np
|
6 |
import wget
|
7 |
import gradio as gr
|
8 |
-
from helpers.processor import TextureProcessor
|
9 |
-
|
10 |
subprocess.call(['pip', 'install', 'git+https://github.com/facebookresearch/detectron2@main#subdirectory=projects/DensePose'])
|
|
|
11 |
|
12 |
def image_processing(person_img: np.ndarray, model_img: np.ndarray) -> np.ndarray:
|
13 |
return texture_processor.extract(person_img, model_img)
|
|
|
5 |
import numpy as np
|
6 |
import wget
|
7 |
import gradio as gr
|
|
|
|
|
8 |
subprocess.call(['pip', 'install', 'git+https://github.com/facebookresearch/detectron2@main#subdirectory=projects/DensePose'])
|
9 |
+
from helpers.processor import TextureProcessor
|
10 |
|
11 |
def image_processing(person_img: np.ndarray, model_img: np.ndarray) -> np.ndarray:
|
12 |
return texture_processor.extract(person_img, model_img)
|