Spaces:
Runtime error
Runtime error
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Image Classifier</title> | |
| </head> | |
| <body> | |
| <h1>Image Classifier</h1> | |
| <form method="post"> | |
| <label for="image_url">Enter Image URL:</label><br> | |
| <input type="text" id="image_url" name="image_url"><br><br> | |
| <input type="submit" value="Submit"> | |
| </form> | |
| {% if predicted_class %} | |
| <h2>Predicted Class:</h2> | |
| <p>{{ predicted_class }}</p> | |
| <img src="{{ image_url }}" alt="Image"> | |
| {% endif %} | |
| </body> | |
| </html> | |