Skip to content

Commit

Permalink
Merge pull request #174 from Schroedinger-Hat/feat/172
Browse files Browse the repository at this point in the history
feat(172): migrate to .org
  • Loading branch information
TheJoin95 authored Oct 3, 2024
2 parents 64b2730 + b7ee3bc commit 32c3dc4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/ign-api/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ numpy==1.24.4
torch==2.2.2
torch-vision==0.1.6.dev0
torchvision==0.17.2
scikit-image=0.19.2
scikit-image==0.19.2
2 changes: 1 addition & 1 deletion src/ign-api/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
@app.route(API_VERSION + "/status", methods=["GET"])
@cross_origin(origin='*')
def get_api_status():
return jsonify({'ok': True, 'count': conn.get('conversion_count')})
return jsonify({'ok': True, 'count': str(conn.get('conversion_count'))})

@app.route(API_VERSION + "/quantize", methods=["POST"])
@cross_origin(origin='*')
Expand Down
2 changes: 1 addition & 1 deletion src/ign-frontend/src/components/Demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default Vue.component('Demo', {
},
data() {
return {
apiUrl: 'https://ign-api.schrodinger-hat.it/v1',
apiUrl: 'https://ign-api.schroedinger-hat.org/v1',
img: null,
imgData: null,
selectedColor: [],
Expand Down
2 changes: 1 addition & 1 deletion src/ign-frontend/src/views/GoWild.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default {
mounted() {
const self = this;
setInterval(() => {
fetch('https://ign-api.schrodinger-hat.it/v1/status')
fetch('https://ign-api.schroedinger-hat.org/v1/status')
.then(() => { self.apiStatus = 'success'; })
.catch(() => { self.apiStatus = 'failed'; });
}, 8000);
Expand Down
2 changes: 1 addition & 1 deletion src/ign-frontend/src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default {
mounted() {
const self = this;
setInterval(() => {
fetch('https://ign-api.schrodinger-hat.it/v1/status')
fetch('https://ign-api.schroedinger-hat.org/v1/status')
.then((r) => { self.apiStatus = 'success'; r.json().then((j) => { self.apiCount = j.count; }); })
.catch(() => { self.apiStatus = 'failed'; });
}, 8000);
Expand Down

0 comments on commit 32c3dc4

Please sign in to comment.