Spaces:
Sleeping
Sleeping
| <html> | |
| <head> | |
| <title>Загрузка файла</title> | |
| </head> | |
| <body> | |
| <h1>Загрузка файла</h1> | |
| <form method="POST" enctype="multipart/form-data"> | |
| <input type="file" name="txt_file" accept=".txt"><br> | |
| <button type="submit">Загрузить</button> | |
| </form> | |
| {% if json_content %} | |
| <h2>Содержимое файла JSON:</h2> | |
| <pre>{{ json_content | safe }}</pre> | |
| {% endif %} | |
| </body> | |
| </html> |