Skip to content

Commit

Permalink
last changes before official v1.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
splovyt committed Mar 29, 2019
1 parent 5c7ce01 commit 041e639
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.com/IBM/MAX-Image-Resolution-Enhancer.svg?branch=master)](https://travis-ci.com/IBM/MAX-Image-Resolution-Enhancer)
[![Build Status](https://travis-ci.com/IBM/MAX-Image-Resolution-Enhancer.svg?branch=master)](https://travis-ci.com/IBM/MAX-Image-Resolution-Enhancer) [![API demo](https://img.shields.io/website/http/max-image-resolution-enhancer.max.us-south.containers.appdomain.cloud/swagger.json.svg?label=API%20demo&down_message=down&up_message=up)](http://max-image-resolution-enhancer.max.us-south.containers.appdomain.cloud/)

# IBM Developer Model Asset Exchange: Image Resolution Enhancer

Expand Down
10 changes: 5 additions & 5 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@

# API metadata
API_TITLE = 'MAX Image Resolution Enhancer'
API_DESC = 'Upscale low-resolution images by a factor of 4x. This model was trained on the OpenImagesV4 dataset.'
API_VERSION = '0.1'
API_DESC = 'Upscale low-resolution images by a factor of 4. This model was trained on the OpenImagesV4 dataset.'
API_VERSION = '1.0.0'

# default model
MODEL_NAME = 'SRGAN'
DEFAULT_MODEL_PATH = 'assets/SRGAN/model'

MODEL_META_DATA = {
'id': '{}_tensorflow'.format(MODEL_NAME.lower()),
'id': 'max-image-resolution-enhancer',
'name': 'Super-Resolution Generative Adversarial Network (SRGAN)',
'description': 'SRGAN trained on the OpenImagesV4 dataset.',
'type': 'Image-To-Image Translation Or Transformation',
'source': 'https://developer.ibm.com/exchanges/models',
'license': 'ApacheV2'
'source': 'https://developer.ibm.com/exchanges/models/all/max-image-resolution-enhancer/',
'license': 'Apache V2'
}
4 changes: 2 additions & 2 deletions tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ def test_metadata():
assert r.status_code == 200

metadata = r.json()
assert metadata['id'] == 'srgan_tensorflow'
assert metadata['id'] == 'max-image-resolution-enhancer'
assert metadata['name'] == 'Super-Resolution Generative Adversarial Network (SRGAN)'
assert metadata['description'] == 'SRGAN trained on the OpenImagesV4 dataset.'
assert metadata['license'] == 'ApacheV2'
assert metadata['license'] == 'Apache V2'


def call_model(file_path):
Expand Down

0 comments on commit 041e639

Please sign in to comment.