Last active
June 2, 2022 18:04
-
-
Save kusal1990/e85bf2668d4c950148e9e72edfe705dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to open/create a new html file in the write mode | |
f = open('index8050.html', 'w') | |
# the html code which will go in the file GFG.html | |
html_template = """<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<h2>VSB Power Line Fault Detection:Classification</h2> | |
<p> | |
<form action="/predict" method="POST"> | |
<label for="meta_data">meta_data</label> | |
<input type="file" accept=".csv" /> | |
<label for="signal_data">signal_data</label> | |
<input type="file" accept=".parquet" /> | |
<input type="submit" value="submit" /> | |
</form> | |
</p> | |
</body> | |
</html> | |
""" | |
# writing the code into the file | |
f.write(html_template) | |
# close the file | |
f.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ok