config.py 212 B

1234567
  1. UPLOAD_FOLDER = 'static/images'
  2. ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif', 'bmp'}
  3. ALIYUN_FUNCTION_URL = "https://imagefeature-hauveswkcf.cn-hangzhou.fcapp.run"
  4. TOP_K = 5
  5. MIN_SCORE = 0.0
  6. MAX_SCORE = 100.0