Spaces:
Runtime error
Runtime error
Bug fix
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import os
|
3 |
import wget
|
4 |
import subprocess
|
5 |
-
|
6 |
from helpers.processor import TextureProcessor
|
7 |
|
8 |
def image_processing(person_img, model_img):
|
|
|
2 |
import os
|
3 |
import wget
|
4 |
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):
|