Commit b814ed28 authored by duanjinfei's avatar duanjinfei

update document

parent 8f7ac58e
...@@ -41,7 +41,7 @@ const aonweb = new AI(ai_options); ...@@ -41,7 +41,7 @@ const aonweb = new AI(ai_options);
```js ```js
const data = { const data = {
input: { input: {
"awv": "https://aonweb.ai/mgxm/d9fa255c-4c47-4fec-99ce-f190539f10c4/olle.mp3", "awv": "https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/vad_example.wav",
"batch_size": 300 "batch_size": 300
} }
}; };
......
...@@ -41,10 +41,10 @@ async function getUserInfo() { ...@@ -41,10 +41,10 @@ async function getUserInfo() {
console.log("getWeb3 userId", userId); console.log("getWeb3 userId", userId);
let result = await user.balance() let result = await user.balance()
if (result && result._balances && result._balances.length) { if (result && result._balances && result._balances.length) {
let temp = result._balances[0] let temp = result._balances[0]
let balance = temp / 1000000000000000000n let balance = temp / 1000000000000000000n
console.log("getWeb3 balance:",balance) console.log("getWeb3 balance:",balance)
} }
} catch (error) { } catch (error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment