~firefoxphpai-chat
12 items • Download ./*

..
ajax.php
ana-ai-chat.png
atom-one-dark.min.css
emoji.json
favicon.ico
highlight.min.js
index.php
note.txt
readme.txt
setup.php
setup_and_launch.py
worker.php


ai-chatsetup.php
921 B• 13•  15 hours ago•  DownloadRawClose
15 hours ago•  13

{}
<?php
//error_reporting(0);
error_reporting(E_ALL & ~E_NOTICE);
date_default_timezone_set("Europe/Oslo");

// all backend link configuration here, assumes diffuse and reason are on the same host:

$BACKEND_IP = "10.0.0.89"; // host with ai model
$BACKEND_AI_PORT = 11434; // Default 11434
$BACKEND_IMG_PORT = 7860; // Default 7860

$curl_timeout = 1740; // keep curl timeout slight less than php max execution for ai response time (Default Never, set to 1740 for vision model, match fcgi or execution time 1800 in php)
$curl_connout = 15; // Max time just to establish the connection

$cleanup_uploads = true; // auto delete uploaded files after use
// upscale is set to always replace original with new in place

// reminder to also enable 'gd' in php.ini for image preview/thumbs generating

// php worker process setup for windows
//$php_bin = PHP_BINARY; // set from environment
$php_bin = "C:/xampp/php/php.exe";
?>

Top
©twily.info 2013 - 2026
twily at twily dot info



3 816 603 visits
... ^ v