Created
June 28, 2022 05:43
-
-
Save kusal1990/393c3dd093947115c032838007afc597 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('index8051.html', 'w') | |
# the html code which will go in the file GFG.html | |
html_template = """<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<h2>AI2 Reasoning Challenge (ARC) 2018:MultipleChoice Question Answering</h2> | |
<p> | |
<form action="/predict" method="POST"> | |
<label for="question">question</label> | |
<textarea name="question" rows="10" cols="30"></textarea>> | |
<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