Spaces:
Sleeping
Sleeping
<html> | |
<head> | |
<title>JSON Data</title> | |
</head> | |
<body> | |
{% if json_data %} | |
<h1>JSON Data:</h1> | |
<pre>{{ json_data }}</pre> | |
{% else %} | |
<h1>Upload a TXT File</h1> | |
<form method="POST" enctype="multipart/form-data"> | |
<input type="file" name="txt_file"> | |
<input type="submit" value="Submit"> | |
</form> | |
{% endif %} | |
</body> | |
</html> |