Spaces:
Runtime error
Runtime error
Undo changes
Browse files
app.py
CHANGED
@@ -5,9 +5,7 @@ import subprocess
|
|
5 |
subprocess.call(['pip', 'install', 'git+https://github.com/facebookresearch/detectron2@main#subdirectory=projects/DensePose'])
|
6 |
from helpers.processor import TextureProcessor
|
7 |
|
8 |
-
def image_processing(person_img, model_img
|
9 |
-
if request:
|
10 |
-
print("IP address: ", request.client.host)
|
11 |
return texture_processor.extract(person_img, model_img)
|
12 |
|
13 |
def load_model(current_path):
|
|
|
5 |
subprocess.call(['pip', 'install', 'git+https://github.com/facebookresearch/detectron2@main#subdirectory=projects/DensePose'])
|
6 |
from helpers.processor import TextureProcessor
|
7 |
|
8 |
+
def image_processing(person_img, model_img):
|
|
|
|
|
9 |
return texture_processor.extract(person_img, model_img)
|
10 |
|
11 |
def load_model(current_path):
|