diff --git a/nostr_dvm/tasks/imageupscale.py b/nostr_dvm/tasks/imageupscale.py index edb8eab..e487695 100644 --- a/nostr_dvm/tasks/imageupscale.py +++ b/nostr_dvm/tasks/imageupscale.py @@ -59,12 +59,12 @@ class ImageUpscale(DVMTaskInterface): elif tag.as_vec()[0] == 'param': print("Param: " + tag.as_vec()[1] + ": " + tag.as_vec()[2]) if tag.as_vec()[1] == "upscale": - out_scale = tag.as_vec()[2] + out_scale = int(tag.as_vec()[2]) io_input_image = { "id": "input_image", "type": "input", - "src": "url:Image", + "src": "url:image", "uri": url } @@ -76,10 +76,15 @@ class ImageUpscale(DVMTaskInterface): request_form['data'] = json.dumps([io_input_image, io_output]) - options = { - "outscale": out_scale, + options = {"model": "RealESRGAN_x4plus", + "outscale": out_scale, + "denoise_strength": 0.5, + "tile": 0, + "tile_pad": 10, + "pre_pad": 0, + "compute_type": "fp32", + "face_enhance": False} - } request_form['options'] = json.dumps(options) return request_form diff --git a/ui/noogle/src/components/ImageGeneration.vue b/ui/noogle/src/components/ImageGeneration.vue index 2da327d..1631d73 100644 --- a/ui/noogle/src/components/ImageGeneration.vue +++ b/ui/noogle/src/components/ImageGeneration.vue @@ -331,7 +331,7 @@ const submitHandler = async () => {


-

Noogle

+

DVM

Image Generation

Generate Images, the decentralized way

diff --git a/ui/noogle/src/components/Login.vue b/ui/noogle/src/components/Login.vue index c8bf0fc..5ef72e0 100644 --- a/ui/noogle/src/components/Login.vue +++ b/ui/noogle/src/components/Login.vue @@ -864,7 +864,7 @@ export default { dbclient = new ClientBuilder().signer(signer).database(await db).build() await dbclient.addRelay("wss://relay.damus.io"); - //await dbclient.addRelay( "wss://purplepag.es"); + // await dbclient.addRelay( "wss://purplepag.es"); await dbclient.connect() store.commit('set_dbclient', dbclient) diff --git a/ui/noogle/src/components/RecommendationGeneration.vue b/ui/noogle/src/components/RecommendationGeneration.vue index d104994..b102653 100644 --- a/ui/noogle/src/components/RecommendationGeneration.vue +++ b/ui/noogle/src/components/RecommendationGeneration.vue @@ -974,7 +974,7 @@ const submitHandler = async () => {


-

Noogle

+

Nostr

Content

Discovery