Skip to content

Commit a976599

Browse files
Add files via upload
1 parent bb244df commit a976599

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

__pycache__/inference.cpython-36.pyc

920 Bytes
Binary file not shown.

static/dog.jpg

71.3 KB
Loading

templates/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
<div class="container">
55
<h1>Upload File</h1>
66
<hr>
7-
<form class="form-inline" action="index.html" method="post">
7+
<form class="form-inline" action="{{ url_for('index') }}" method="post" enctype="multipart/form-data">
88
<div class="form-group">
99
<input type="file" name="file" class="btn btn-default">
1010
</div>
1111
<div class="form-group">
12-
<input type="submit" name="Upload" class="btn btn-default">
12+
<input type="submit" value="Upload" class="btn btn-default">
1313
</div>
1414
</form>
1515
</div>

0 commit comments

Comments
 (0)