Changeset 16508


Ignore:
Timestamp:
Aug 9, 2016, 10:33:56 AM (3 years ago)
Author:
dferreira
Message:

Config file an analyse app changed

Location:
internals/2016/aptoideimagesdetector/trunk/aptoide_mature_app_detector
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • internals/2016/aptoideimagesdetector/trunk/aptoide_mature_app_detector/aptoide_mature_app_detector/explicit_content_detector/API/views.py

    r16504 r16508  
    5959                        except:
    6060                                temp = s.split('http://',1)
    61                         scr.append(config['directories']['url_images']+temp[1])
     61                        scr.append(config['directories']['local_image_path_prefix']+temp[1])
    6262
    6363        if 'sshots_hd' in page['media']:
     
    6767                        except:
    6868                                temp = s.split('http://',1)
    69                         scr_hd.append(config['directories']['url_images']+temp[1])
     69                        scr_hd.append(config['directories']['local_image_path_prefix']+temp[1])
    7070
    7171        min_age = page['meta']['min_age']
     
    7474        temp = icon.split('http://',1)
    7575
    76         icon = config['directories']['url_images']+temp[1]
     76        icon = config['directories']['local_image_path_prefix']+temp[1]
    7777
    7878        icon_hd = []
     
    8181                temp = icon_hd.split('http://',1)
    8282
    83                 icon_hd = config['directories']['url_images']+temp[1]
     83                icon_hd = config['directories']['local_image_path_prefix']+temp[1]
    8484
    8585        icons = []
  • internals/2016/aptoideimagesdetector/trunk/aptoide_mature_app_detector/config.json

    r16502 r16508  
    33                "_Comments":"paths should always be relative to django project (where you run manage.py runserver)",
    44                "_Comments2":"url_images to be changed to local server of images",
    5                 "url_images": "http://",
     5                "local_image_path_prefix": "http://",
    66                "ill2vec_ser": "API/Explicit_detector/Illustration2Vector/illustration2vec_master/illust2vec.pickle",
    77                "ill2vec_model": "API/Explicit_detector/Illustration2Vector/illustration2vec-master/illust2vec_tag_ver200.caffemodel",
Note: See TracChangeset for help on using the changeset viewer.