Skip to content

Commit

Permalink
add waring
Browse files Browse the repository at this point in the history
  • Loading branch information
akaster99 committed Dec 18, 2024
1 parent 7a0a436 commit 45e2a21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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);
}
}
Expand Down

0 comments on commit 45e2a21

Please sign in to comment.