this should work

This commit is contained in:
edbrz9 2023-01-01 20:03:14 +01:00
parent 043751b994
commit a43ace7741
1 changed files with 4 additions and 4 deletions

View File

@ -21,11 +21,11 @@
$cmd = "python3 y2t.py " . $url . " " . $lang ;
exec($cmd, $output, $return);
echo "<h4> Debug sizeof output:";
echo sizeof($output);
echo "</h4>";
//echo "<h4> Debug sizeof output:";
//echo sizeof($output);
//echo "</h4>";
if (strlen($output) > 0) {
if (sizeof($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>';