model inference settings
This commit is contained in:
@@ -44,6 +44,7 @@ router.get('/', (req, res) => {
|
||||
});
|
||||
|
||||
router.get('/props', async (req, res) => {
|
||||
console.log('[models/props] fetching from:', `${INFERENCE_SERVICE_URL}/props`);
|
||||
try {
|
||||
const response = await fetch(`${INFERENCE_SERVICE_URL}/props`);
|
||||
if (!response.ok) throw new Error(`Inference service error: ${response.status}`);
|
||||
|
||||
Reference in New Issue
Block a user