Compare commits
2 commits
1abdb0cbd2
...
10c0fd71f0
Author | SHA1 | Date | |
---|---|---|---|
|
10c0fd71f0 | ||
|
0c2cb41ccb |
3 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,3 +4,4 @@
|
||||||
__pycache__
|
__pycache__
|
||||||
static
|
static
|
||||||
*output.png
|
*output.png
|
||||||
|
user_data
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<h1>Upload Image</h1>
|
<h1>Upload Image</h1>
|
||||||
<form method="POST" action="/image" enctype="multipart/form-data">
|
<form method="POST" action="/image" enctype="multipart/form-data">
|
||||||
<input type="file" name="image">
|
<input type="file" name="image">
|
||||||
<input type="submit" value="Upload">
|
<input type="submit" value="Generate preview">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% if filename %}
|
{% if filename %}
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
style="width: 40px"><br>
|
style="width: 40px"><br>
|
||||||
Y position: <input type="number" value="{{text2["pos"]}}" name="pos2" required
|
Y position: <input type="number" value="{{text2["pos"]}}" name="pos2" required
|
||||||
style="width: 40px"><br>
|
style="width: 40px"><br>
|
||||||
<input type="submit" value="Submit">
|
<input type="submit" value="Generate preview">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% if filename %}
|
{% if filename %}
|
||||||
|
|
Loading…
Reference in a new issue