From a43ace7741543856f354c1c1de16b67335802bbb Mon Sep 17 00:00:00 2001 From: edbrz9 Date: Sun, 1 Jan 2023 20:03:14 +0100 Subject: [PATCH] this should work --- proj/YT2P/handler.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/proj/YT2P/handler.php b/proj/YT2P/handler.php index e29fb41..24b500b 100644 --- a/proj/YT2P/handler.php +++ b/proj/YT2P/handler.php @@ -21,11 +21,11 @@ $cmd = "python3 y2t.py " . $url . " " . $lang ; exec($cmd, $output, $return); - echo "

Debug sizeof output:"; - echo sizeof($output); - echo "

"; + //echo "

Debug sizeof output:"; + //echo sizeof($output); + //echo "

"; - if (strlen($output) > 0) { + if (sizeof($output) > 0) { echo '

Here are your prompts!

'; echo '

You can copy them one by one in ChatGPT. Why is it presented that way? Check out our Q&A page.

';