debug YT2P handler

This commit is contained in:
edbrz9 2023-01-01 19:55:51 +01:00
parent eb8cc0c77a
commit 355dd0f17b
1 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,10 @@
$cmd = "python3 y2t.py " . $url . " " . $lang ;
exec($cmd, $output, $return);
echo "<h4> Debug strel(output):";
echo strlen($output);
echo "</h4>";
if (strlen($output) > 0) {
echo '<h4>Here are your prompts!</h4>';
echo '<p>You can copy them one by one in ChatGPT. Why is it presented that way? Check out our <a href="./qna.php" target="_blank">Q&A page</a>.</p>';