Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -158,7 +158,7 @@ module.exports = { lumin };</code></pre>
|
|
| 158 |
<pre><code>const axios = require('axios');
|
| 159 |
|
| 160 |
function getLuminaiResponse(q) {
|
| 161 |
-
const url = `https://ilhamdev-luminai.hf.space/api/q=${encodeURIComponent(q)}`;
|
| 162 |
|
| 163 |
return axios.get(url)
|
| 164 |
.then(response => response.data)
|
|
|
|
| 158 |
<pre><code>const axios = require('axios');
|
| 159 |
|
| 160 |
function getLuminaiResponse(q) {
|
| 161 |
+
const url = `https://ilhamdev-luminai.hf.space/api/ai?q=${encodeURIComponent(q)}`;
|
| 162 |
|
| 163 |
return axios.get(url)
|
| 164 |
.then(response => response.data)
|