this should work
This commit is contained in:
parent
043751b994
commit
a43ace7741
|
@ -21,11 +21,11 @@
|
||||||
$cmd = "python3 y2t.py " . $url . " " . $lang ;
|
$cmd = "python3 y2t.py " . $url . " " . $lang ;
|
||||||
|
|
||||||
exec($cmd, $output, $return);
|
exec($cmd, $output, $return);
|
||||||
echo "<h4> Debug sizeof output:";
|
//echo "<h4> Debug sizeof output:";
|
||||||
echo sizeof($output);
|
//echo sizeof($output);
|
||||||
echo "</h4>";
|
//echo "</h4>";
|
||||||
|
|
||||||
if (strlen($output) > 0) {
|
if (sizeof($output) > 0) {
|
||||||
echo '<h4>Here are your prompts!</h4>';
|
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>';
|
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>';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue