From 45e2a21bf0eb7bdc468a5093f2e514614ca71e55 Mon Sep 17 00:00:00 2001 From: akaster99 Date: Wed, 18 Dec 2024 17:10:41 +0900 Subject: [PATCH] add waring --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 337cc45..bf01a2e 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ main(); ### Deploy -You can deploy your AI model to ainize. Anyone can use your AI model with AIN token. +You can deploy your AI model to ainize. Anyone can use your AI model with AIN token. **You need AIN tokens for deploying models.** CONFIGURATION(JSON) @@ -121,13 +121,13 @@ const main = async () => { const ainize = new Ainize(1); await ainize.login(ainPrivateKey); const deployConfig = { - modelName: 'YOUR_MODEL_NAME',// e.g. meta-llama/Llama-3.1-8B-instruct + modelName: 'YOUR_MODEL_NAME', // e.g. meta-llama/Llama-3.1-8B-instruct modelUrl: 'https://ainize-free-inference.ainetwork.xyz' // This URL is for tutorial. } const model = await ainize.deploy(deployConfig); console.log(model.modelName); ainize.logout(); - }catch(e) { + } catch(e) { console.log(e); } }