Brasd99 commited on
Commit
4635a51
1 Parent(s): 87653fe

Undo changes

Browse files
Files changed (1) hide show
  1. app.py +1 -3
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, request: gr.Request):
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):