Spaces:
Runtime error
Runtime error
Added logging
Browse files4 unmodified lines5678910114 unmodified linessubprocess.call(['pip', 'install', 'git+https://github.com/facebookresearch/detectron2@main#subdirectory=projects/DensePose'])from helpers.processor import TextureProcessordef image_processing(person_img, model_img):return texture_processor.extract(person_img, model_img)def load_model(current_path):4 unmodified lines56789101112134 unmodified linessubprocess.call(['pip', 'install', 'git+https://github.com/facebookresearch/detectron2@main#subdirectory=projects/DensePose'])from helpers.processor import TextureProcessordef image_processing(person_img, model_img, request: gr.Request):if request:print("IP address: ", request.client.host)return texture_processor.extract(person_img, model_img)def load_model(current_path):
app.py+3-1