This commit is contained in:
edbrz9 2022-12-29 12:34:31 +01:00
parent abb0b3996e
commit ee823a623c
2 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,34 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Y2T</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="root">
<h4>Welcome on the handler page</h4>
<?php
echo "entering php";
$url = $_POST['url'];
echo $url;
$lang = $_POST['lang'];
echo $lang;
$output = exec("python3 y2t.py");
echo $output;
sleep(5);
echo "check"
?>
</div>
<script src="assets/js/vue.min.js"></script>
<script src="assets/js/app.js"></script>
</body>
</html>

View File

@ -60,5 +60,5 @@ if currentString:
blocks = len(sList) blocks = len(sList)
for i in range(blocks): for i in range(blocks):
print('This is part '+ str(i+1) +'/'+ str(blocks) + "of the transcript of a video named: "+ title) print('This is part '+ str(i+1) +'/'+ str(blocks) + " of the transcript of a video named: "+ title)
print(sList[i]) print(sList[i])