Skip to content

Commit 041e639

Browse files
committed
last changes before official v1.0.0 release
1 parent 5c7ce01 commit 041e639

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.com/IBM/MAX-Image-Resolution-Enhancer.svg?branch=master)](https://travis-ci.com/IBM/MAX-Image-Resolution-Enhancer)
1+
[![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/)
22

33
# IBM Developer Model Asset Exchange: Image Resolution Enhancer
44

config.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77

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

1313
# default model
1414
MODEL_NAME = 'SRGAN'
1515
DEFAULT_MODEL_PATH = 'assets/SRGAN/model'
1616

1717
MODEL_META_DATA = {
18-
'id': '{}_tensorflow'.format(MODEL_NAME.lower()),
18+
'id': 'max-image-resolution-enhancer',
1919
'name': 'Super-Resolution Generative Adversarial Network (SRGAN)',
2020
'description': 'SRGAN trained on the OpenImagesV4 dataset.',
2121
'type': 'Image-To-Image Translation Or Transformation',
22-
'source': 'https://developer.ibm.com/exchanges/models',
23-
'license': 'ApacheV2'
22+
'source': 'https://developer.ibm.com/exchanges/models/all/max-image-resolution-enhancer/',
23+
'license': 'Apache V2'
2424
}

tests/test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ def test_metadata():
2727
assert r.status_code == 200
2828

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

3535

3636
def call_model(file_path):

0 commit comments

Comments
 (0)