falsche Python-Datei referenziert
This commit is contained in:
@@ -7,7 +7,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
|
||||
if (!empty($userMessage)) {
|
||||
// Python-Skript aufrufen
|
||||
$command = escapeshellcmd("python3 assistant_api.py " . escapeshellarg($userMessage));
|
||||
$command = escapeshellcmd("python3 assistant.py " . escapeshellarg($userMessage));
|
||||
$response = shell_exec($command);
|
||||
$assistantResponse = json_decode($response, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user