Spaces:
Runtime error
Runtime error
<html> | |
<head> | |
<title>Video Dubbing App</title> | |
<style> | |
.container { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
margin-top: 50px; | |
} | |
.form { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
background-color: #f2f2f2; | |
padding: 30px; | |
border-radius: 10px; | |
box-shadow: 2px 2px 5px #888888; | |
} | |
h2 { | |
margin-bottom: 30px; | |
} | |
input[type="file"] { | |
margin-bottom: 20px; | |
} | |
input[type="submit"] { | |
margin-top: 20px; | |
padding: 10px 20px; | |
background-color: #4CAF50; | |
color: white; | |
border: none; | |
border-radius: 5px; | |
cursor: pointer; | |
} | |
input[type="submit"]:hover { | |
background-color: #3e8e41; | |
} | |
.or { | |
margin-top: 20px; | |
margin-bottom: 20px; | |
font-size: 16px; | |
text-align: center; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="container"> | |
<h2>Dub Your Videos</h2> | |
<form class="form" action="/dub" method="post" enctype="multipart/form-data"> | |
<input type="file" name="video"> | |
<div class="or">OR</div> | |
<input type="text" name="url" placeholder="Enter video URL"> | |
<input type="submit" value="Dub Video"> | |
</form> | |
</div> | |
</body> | |
</html> |