Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
armaf002 authored May 25, 2024
1 parent 4a84360 commit 40347ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ <h2>Predict Tomato Disease from Image</h2>
<form action="/predict" method="post" enctype="multipart/form-data">
<div class="form-group">
<label for="file">Upload an image:</label>
<input type="file" id="file" name="file" accept="image/*" required>
<input type="file" id="file" name="file" accept="image/*">
</div>
<div class="form-group">
<label for="url">Or enter an image URL:</label>
<input type="url" id="url" name="url" placeholder="https://example.com/image.jpg">
</div>
<button type="submit">Upload and Predict</button>
<button type="submit">Upload or Enter URL and Predict</button>
</form>
</section>
<hr>
Expand Down

0 comments on commit 40347ea

Please sign in to comment.